summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-03-31 03:42:07 -0400
committerEliot Horowitz <eliot@10gen.com>2011-03-31 03:42:07 -0400
commit5bd0556e0efae784783cacd1cc38371c269e37ce (patch)
tree14b8c48f192a867c3c4e450ee42c5e8ecd7c4c0b
parent134e8eb0e0913747ac648875514332fe9949d4cd (diff)
downloadmongo-5bd0556e0efae784783cacd1cc38371c269e37ce.tar.gz
fix 1.8 compile backport
-rw-r--r--s/client.cpp4
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;