summaryrefslogtreecommitdiff
path: root/src/mongo/shell/dbshell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/dbshell.cpp')
-rw-r--r--src/mongo/shell/dbshell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/shell/dbshell.cpp b/src/mongo/shell/dbshell.cpp
index 3fc5b2c69b5..8283793328b 100644
--- a/src/mongo/shell/dbshell.cpp
+++ b/src/mongo/shell/dbshell.cpp
@@ -765,6 +765,8 @@ int _main(int argc, char* argv[], char** envp) {
// hide password from ps output
redactPasswordOptions(argc, argv);
+ ErrorExtraInfo::invariantHaveAllParsers();
+
if (!mongo::serverGlobalParams.quiet.load())
cout << mongoShellVersion(VersionInfoInterface::instance()) << endl;