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:
parent
dfd532e631
commit
4f0d2349c7
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user