summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-10-01 13:40:37 -0400
committerEliot Horowitz <eliot@10gen.com>2010-10-01 13:41:18 -0400
commit9eb2e8c2baa1f3a8a248a5b49c948f3e4e701a3d (patch)
tree2879dae744a3597ff0c682b3dfa35f3845288e80 /client
parenta6b0eee2c0632e326ec1929d28be1645ee94d455 (diff)
downloadmongo-9eb2e8c2baa1f3a8a248a5b49c948f3e4e701a3d.tar.gz
better error message on distlock
Diffstat (limited to 'client')
-rw-r--r--client/distlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/distlock.cpp b/client/distlock.cpp
index be45034cbf8..11516b196c5 100644
--- a/client/distlock.cpp
+++ b/client/distlock.cpp
@@ -154,7 +154,7 @@ namespace mongo {
BSONObj lastPing = conn->findOne( lockPingNS , o["process"].wrap( "_id" ) );
if ( lastPing.isEmpty() ){
// TODO: maybe this should clear, not sure yet
- log() << "lastPing is empty! this could be bad: " << o << endl;
+ log() << "config.locks: " << _name << " lastPing is empty! this could be bad: " << o << endl;
conn.done();
return false;
}