diff options
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r-- | src/mongo/s/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index 9c4f2acea2c..787fbd64c80 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -145,7 +145,7 @@ namespace mongo { LOG( ex.isUserAssertion() ? 1 : 0 ) << "Assertion failed" << " while processing " << opToString( m.operation() ) << " op" - << " for " << r.getns() << causedBy( ex ) << endl; + << " for " << r.getnsIfPresent() << causedBy( ex ) << endl; if ( r.expectResponse() ) { m.header()->id = r.id(); @@ -159,7 +159,7 @@ namespace mongo { log() << "Exception thrown" << " while processing " << opToString( m.operation() ) << " op" - << " for " << r.getns() << causedBy( ex ) << endl; + << " for " << r.getnsIfPresent() << causedBy( ex ) << endl; if ( r.expectResponse() ) { m.header()->id = r.id(); |