Skip to content

Commit

Permalink
fix 1.8 compile backport
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Mar 31, 2011
1 parent 134e8eb commit 5bd0556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s/client.cpp
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5bd0556

Please sign in to comment.