Skip to content

Commit

Permalink
Merge pull request mongodb#328 from daveh86/master
Browse files Browse the repository at this point in the history
SERVER-7657
  • Loading branch information
IanWhalen committed Nov 14, 2012
2 parents 6446345 + feacfec commit a8d6bcf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mongo/s/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1042,8 +1042,9 @@ namespace mongo {
BSON(ShardFields::host(monitor->getServerAddress()))));
conn->done();
}
catch ( DBException & ) {
error() << "RSChangeWatcher: could not update config db for set: " << monitor->getName() << " to: " << monitor->getServerAddress() << endl;
catch ( DBException& e ) {
error() << "RSChangeWatcher: could not update config db for set: " << monitor->getName() << " to: " << monitor->getServerAddress()
<< causedBy( e ) << endl;
}
}

Expand Down

0 comments on commit a8d6bcf

Please sign in to comment.