summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2018-01-17 13:31:14 -0500
committerMathias Stearn <mathias@10gen.com>2018-01-19 21:43:07 -0500
commit6d92ce0e7ec4e9a0cf31e9f9940a63b03968bb88 (patch)
treeee06bd3cd1d5f34b114c81bffb715e432fbe6880 /src/mongo/s/server.cpp
parent410d6cf705eafd46499e8b338be5103becd377ff (diff)
downloadmongo-6d92ce0e7ec4e9a0cf31e9f9940a63b03968bb88.tar.gz
SERVER-32674 Make SocketException not be a special type
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index c1e4af13eb3..23c050feed6 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -599,8 +599,6 @@ int mongoSMain(int argc, char* argv[], char** envp) {
try {
int exitCode = _main();
return exitCode;
- } catch (const SocketException& e) {
- error() << "uncaught SocketException in mongos main: " << redact(e);
} catch (const DBException& e) {
error() << "uncaught DBException in mongos main: " << redact(e);
} catch (const std::exception& e) {