summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-12-11 19:35:05 -0500
committerMathias Stearn <mathias@10gen.com>2018-01-04 14:52:27 -0500
commit7f56cb7f21a4d13dd4c4d39d85f23ec77cd28f9b (patch)
tree6ebe17c53fba868d4ce80b3ae1516db3412ee485 /src/mongo/s/server.cpp
parent6b1a6cfe77e3c5a3b2d62a3346d19d26694ed2ed (diff)
downloadmongo-7f56cb7f21a4d13dd4c4d39d85f23ec77cd28f9b.tar.gz
SERVER-31734 Core ErrorExtraInfo implementation
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index e0a629c36e2..c1e4af13eb3 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -589,6 +589,8 @@ int mongoSMain(int argc, char* argv[], char** envp) {
quickExit(EXIT_FAILURE);
}
+ ErrorExtraInfo::invariantHaveAllParsers();
+
startupConfigActions(std::vector<std::string>(argv, argv + argc));
cmdline_utils::censorArgvArray(argc, argv);