summaryrefslogtreecommitdiff
path: root/stdafx.cpp
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-02-12 15:03:38 -0500
committerDwight <dmerriman@gmail.com>2009-02-12 15:03:38 -0500
commit459d62347b450d14d5f5a337411498782d9761eb (patch)
tree5892befc32e61342acbd6f5a051ab0b04ddd85a5 /stdafx.cpp
parent4c03dc15ed419d60b3df6068730f307ee8a33e01 (diff)
downloadmongo-459d62347b450d14d5f5a337411498782d9761eb.tar.gz
replication / exception throwing bug fix
--only option added
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 7695b72a9d6..3b1360931b5 100644
--- a/stdafx.cpp
+++ b/stdafx.cpp
@@ -64,9 +64,9 @@ namespace mongo {
int uacount = 0;
void uasserted(const char *msg) {
if ( ++uacount < 100 )
- log() << "User Assertion " << msg << endl;
+ log() << "User Exception " << msg << endl;
else
- RARELY log() << "User Assertion " << msg << endl;
+ RARELY log() << "User Exception " << msg << endl;
lastAssert[3].set(msg, getDbContext().c_str(), "", 0);
raiseError(msg);
throw UserException(msg);