summaryrefslogtreecommitdiff
path: root/src/mongo/shell/dbshell.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2018-12-27 14:01:39 -0500
committerMathias Stearn <mathias@10gen.com>2019-01-23 18:50:54 -0500
commit33c750267b6481c0d0320d75c94ef755f3e467fe (patch)
treef348bcf137c6254c26d7a4c65f3da8864dcc5ae1 /src/mongo/shell/dbshell.cpp
parentad76f11ab3c86e3526cc8fc396e368fea934a0eb (diff)
downloadmongo-33c750267b6481c0d0320d75c94ef755f3e467fe.tar.gz
SERVER-38038 mongo shell should support all ErrorExtraInfo codes
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 afe45fe337e..47018c07c06 100644
--- a/src/mongo/shell/dbshell.cpp
+++ b/src/mongo/shell/dbshell.cpp
@@ -773,6 +773,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;