diff options
Diffstat (limited to 's/client.cpp')
-rw-r--r-- | s/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s/client.cpp b/s/client.cpp index e1cb0229914..95e31247131 100644 --- a/s/client.cpp +++ b/s/client.cpp @@ -146,7 +146,7 @@ namespace mongo { } catch( std::exception &e ){ - warning() << "Could not get last error." << m_error_message( e.what() ) << endl; + warning() << "Could not get last error." << e.what() << endl; // Catch everything that happens here, since we need to ensure we return our connection when we're // finished. @@ -219,7 +219,7 @@ namespace mongo { // Safe to return here, since we haven't started any extra processing yet, just collecting // responses. - warning() << "Could not get last error." << m_error_message( e.what() ) << endl; + warning() << "Could not get last error." << e.what() << endl; conn.done(); return false; |