summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-02-20 16:38:37 -0500
committerEliot Horowitz <eliot@10gen.com>2010-02-20 16:39:01 -0500
commite987a94c7c396cc2a15e6033aa9d0f65a717421a (patch)
tree4bfae3c5b89b7ad898fe77b5b70ff00d4bf9fa82
parentb790e13761f1e29ec2757ef00e4de86c5ff6ca60 (diff)
downloadmongo-e987a94c7c396cc2a15e6033aa9d0f65a717421a.tar.gz
better debugging for SERVER-650
-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;