diff options
author | Dan Pasette <dan@10mongodb.com> | 2014-03-09 19:25:03 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2014-03-09 19:25:03 -0400 |
commit | 67c47db36f9195679382062d52db0151251c6074 (patch) | |
tree | 7f6d6a0be92d260be4c4df5e1da310b9b1fea9fc | |
parent | df5a9d90ebe21f23bd710377b32d5e1f523879b4 (diff) | |
download | mongo-67c47db36f9195679382062d52db0151251c6074.tar.gz |
SERVER-9248 Fix up try/catch block
-rw-r--r-- | src/mongo/db/db.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index c04d2afb1e1..24c6bc62c55 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -577,12 +577,12 @@ namespace mongo { } } } - catch (const std::exception& e) { - log() << "unable to validate readahead settings due to error: " << e.what() - << startupWarningsLog; - log() << "for more information, see http://dochub.mongodb.org/core/readahead" - << startupWarningsLog; - } + } + catch (const std::exception& e) { + log() << "unable to validate readahead settings due to error: " << e.what() + << startupWarningsLog; + log() << "for more information, see http://dochub.mongodb.org/core/readahead" + << startupWarningsLog; } #endif // __linux__ } |