diff options
-rw-r--r-- | db/pdfile.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp index e46ffb7ce6b..80ae649306e 100644 --- a/db/pdfile.cpp +++ b/db/pdfile.cpp @@ -904,10 +904,9 @@ namespace mongo { idx.head, dl, *changes[x].added[i], idxKey, /*dupsAllowed*/true, idx); } - catch (AssertionException&) { + catch (AssertionException& e) { ss << " exception update index "; - out() << " caught assertion update index " << idx.indexNamespace() << '\n'; - problem() << " caught assertion update index " << idx.indexNamespace() << endl; + problem() << " caught assertion update index " << idx.indexNamespace() << " " << e << endl; } } } |