summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/cloner.cpp')
-rw-r--r--src/mongo/db/cloner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/cloner.cpp b/src/mongo/db/cloner.cpp
index 5e691f3b4c9..41023abd501 100644
--- a/src/mongo/db/cloner.cpp
+++ b/src/mongo/db/cloner.cpp
@@ -228,7 +228,7 @@ namespace mongo {
StatusWith<RecordId> loc = collection->insertDocument( txn, js, true );
if ( !loc.isOK() ) {
error() << "error: exception cloning object in " << from_collection
- << ' ' << loc.toString() << " obj:" << js;
+ << ' ' << loc.getStatus() << " obj:" << js;
}
uassertStatusOK( loc.getStatus() );
if (logForRepl)