diff options
author | Dwight <dmerriman@gmail.com> | 2008-12-24 11:11:10 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2008-12-24 11:11:10 -0500 |
commit | 10825ba77dc2691b9a22ffe2b0899293f052a707 (patch) | |
tree | a1353b1e777217c3e0100844fb649b3ff11bbeba /stdafx.cpp | |
parent | 7e5802c7aeb395878a6897ecc6871426b1685053 (diff) | |
download | mongo-10825ba77dc2691b9a22ffe2b0899293f052a707.tar.gz |
better error messagse for replication
Diffstat (limited to 'stdafx.cpp')
-rw-r--r-- | stdafx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdafx.cpp b/stdafx.cpp index f02f44d5e1e..e83b82d1ef8 100644 --- a/stdafx.cpp +++ b/stdafx.cpp @@ -35,13 +35,13 @@ void sayDbContext(const char *errmsg = 0); /* "warning" assert -- safe to continue, so we don't throw exception. */ void wasserted(const char *msg, const char *file, unsigned line) { - problem() << "Assertion failure " << msg << ' ' << file << ' ' << line << endl; + problem() << "Assertion failure " << msg << ' ' << file << ' ' << dec << line << endl; sayDbContext(); lastAssert[1].set(msg, getDbContext().c_str(), file, line); } void asserted(const char *msg, const char *file, unsigned line) { - problem() << "Assertion failure " << msg << ' ' << file << ' ' << line << endl; + problem() << "Assertion failure " << msg << ' ' << file << ' ' << dec << line << endl; sayDbContext(); lastAssert[0].set(msg, getDbContext().c_str(), file, line); throw AssertionException(); |