0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Revert "dont terminate"

This reverts commit e816b2f948.
This commit is contained in:
Eliot Horowitz 2011-11-19 17:46:33 -05:00
parent e816b2f948
commit f88174e196

View File

@ -95,11 +95,11 @@ namespace mongo {
p->shutdown(); p->shutdown();
} }
catch ( std::exception &e ) { catch ( std::exception &e ) {
error() << "Uncaught std::exception: " << e.what() << endl; error() << "Uncaught std::exception: " << e.what() << ", terminating" << endl;
p->shutdown(); dbexit( EXIT_UNCAUGHT );
} }
catch ( ... ) { catch ( ... ) {
error() << "MessageServer uncaught exception, terminating" << endl; error() << "Uncaught exception, terminating" << endl;
dbexit( EXIT_UNCAUGHT ); dbexit( EXIT_UNCAUGHT );
} }