summaryrefslogtreecommitdiff
path: root/db/pdfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/pdfile.cpp')
-rw-r--r--db/pdfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp
index a20aad04d67..08743b3184b 100644
--- a/db/pdfile.cpp
+++ b/db/pdfile.cpp
@@ -774,9 +774,9 @@ namespace mongo {
try {
ok = id.head.btree()->unindex(id.head, id, j, dl);
}
- catch (AssertionException&) {
+ catch (AssertionException& e) {
problem() << "Assertion failure: _unindex failed " << id.indexNamespace() << endl;
- out() << "Assertion failure: _unindex failed" << '\n';
+ out() << "Assertion failure: _unindex failed: " << e.what() << '\n';
out() << " obj:" << obj.toString() << '\n';
out() << " key:" << j.toString() << '\n';
out() << " dl:" << dl.toString() << endl;