summaryrefslogtreecommitdiff
path: root/stdafx.cpp
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-12-24 11:11:10 -0500
committerDwight <dmerriman@gmail.com>2008-12-24 11:11:10 -0500
commit10825ba77dc2691b9a22ffe2b0899293f052a707 (patch)
treea1353b1e777217c3e0100844fb649b3ff11bbeba /stdafx.cpp
parent7e5802c7aeb395878a6897ecc6871426b1685053 (diff)
downloadmongo-10825ba77dc2691b9a22ffe2b0899293f052a707.tar.gz
better error messagse for replication
Diffstat (limited to 'stdafx.cpp')
-rw-r--r--stdafx.cpp4
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();