show user asserts in verbose mode

This commit is contained in:
Eliot Horowitz
2011-05-22 01:11:03 -04:00
parent 2f9948df10
commit c665d0a406

View File

@@ -101,6 +101,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);
}