We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93fdafc commit feacfecCopy full SHA for feacfec
src/mongo/s/config.cpp
@@ -1042,8 +1042,9 @@ namespace mongo {
1042
BSON(ShardFields::host(monitor->getServerAddress()))));
1043
conn->done();
1044
}
1045
- catch ( DBException & ) {
1046
- 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()
1047
+ << causedBy( e ) << endl;
1048
1049
1050
0 commit comments