summaryrefslogtreecommitdiff
path: root/src/mongo/db/database.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-12-02 02:51:23 -0500
committerEliot Horowitz <eliot@10gen.com>2012-12-02 02:51:23 -0500
commitb8ed302c0c54632cbd40a4fac1a3c8810c94d99e (patch)
tree387d56e9fa2d4d011b78babe83aba5e3d3a6d2ac /src/mongo/db/database.cpp
parent336d7bfdbfb6f3a1c1fb01ff1f5afc24ab27232c (diff)
downloadmongo-b8ed302c0c54632cbd40a4fac1a3c8810c94d99e.tar.gz
SERVER-7814 - log error but don't fail user op if can't profile
Diffstat (limited to 'src/mongo/db/database.cpp')
-rw-r--r--src/mongo/db/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/database.cpp b/src/mongo/db/database.cpp
index bb7f5c7fcbf..bb32fe82a33 100644
--- a/src/mongo/db/database.cpp
+++ b/src/mongo/db/database.cpp
@@ -379,7 +379,7 @@ namespace mongo {
verify( cc().database() == this );
- if (!getOrCreateProfileCollection(this, true))
+ if (!getOrCreateProfileCollection(this, true, &errmsg))
return false;
profile = newLevel;