cleaning exceptions

This commit is contained in:
Eliot Horowitz
2010-06-21 13:41:34 -04:00
parent e42ab71086
commit a71cc3cd4b
17 changed files with 123 additions and 92 deletions

View File

@@ -186,7 +186,7 @@ namespace mongo {
}
BSONObjBuilder err;
err.append("$err", e.msg.empty() ? "assertion during query" : e.msg);
e.getInfo().append( err );
BSONObj errObj = err.done();
BufBuilder b;