Permalink
Browse files

better error message

  • Loading branch information...
1 parent d9a9c71 commit 7f03ac9d75f8da12ddaf1430cb4600eaae65d94a @RedBeard0531 RedBeard0531 committed Apr 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/dbclientcursor.h
@@ -58,7 +58,7 @@ namespace mongo {
if( strcmp(e.fieldName(), "$err") == 0 ) {
if( logLevel >= 5 )
log() << "nextSafe() error " << o.toString() << endl;
- uassert(13106, "nextSafe() returns $err", false);
+ uassert(13106, "nextSafe() returns $err: " + o.toString(), false);
}
return o;
}

0 comments on commit 7f03ac9

Please sign in to comment.