summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-05-22 01:11:03 -0400
committerEliot Horowitz <eliot@10gen.com>2011-05-22 01:11:36 -0400
commit47840f05d29a3e63a402740e5914f2c803f3bda1 (patch)
tree64a74d176ea2999d0e66e086dc3f62af4a0f018d
parentf507c99be0cbe0c8ec1a962bc58d9763d1c9e9e3 (diff)
downloadmongo-47840f05d29a3e63a402740e5914f2c803f3bda1.tar.gz
show user asserts in verbose mode
-rw-r--r--util/assert_util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/assert_util.cpp b/util/assert_util.cpp
index 47be5e95246..8280d8bc99d 100644
--- a/util/assert_util.cpp
+++ b/util/assert_util.cpp
@@ -91,6 +91,7 @@ namespace mongo {
void uasserted(int msgid, const char *msg) {
assertionCount.condrollover( ++assertionCount.user );
+ LOG(1) << "User Assertion: " << msgid << ":" << msg << endl;
raiseError(msgid,msg);
throw UserException(msgid, msg);
}