0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

fix error message on Balancer init

This commit is contained in:
Eliot Horowitz 2011-08-20 01:08:24 -04:00
parent dfd532e631
commit 4f0d2349c7

View File

@ -244,9 +244,8 @@ namespace mongo {
return true;
}
catch ( std::exception& ) {
log( LL_WARNING ) << "could not initialize balancer, please check that all shards and config servers are up" << endl;
catch ( std::exception& e ) {
warning() << "could not initialize balancer, please check that all shards and config servers are up: " << e.what() << endl;
return false;
}