|
Right now mongod calls functions like fassert() when it finds a fatal condition. This yields a brief message in the log followed by at least one stack trace, which often makes users think they've run into a mongod bug.
It would be nice to be able to produce more informative error messages whenever mongod finds a fatal error. Ideally, one would be able to call things like this in the code:
fatal() << “some message”;
|
fassert(12345, condition) << “some message”;
|
fassertNoTrace(12345, condition) << “some message”;
|
|