summaryrefslogtreecommitdiff
path: root/src/mongo/client
diff options
context:
space:
mode:
authorIan Boros <ian.boros@10gen.com>2018-07-30 12:45:53 -0400
committerJonathan Reams <jbreams@mongodb.com>2018-09-24 11:47:28 -0400
commit69dd60bb3937d2663c397e1e28238c4f63f02c5b (patch)
tree3c9ff3fbf889c26c170253e0fc16ff5ea92827f2 /src/mongo/client
parent61ec2c71ccf85655581df077518843c6d191027c (diff)
downloadmongo-69dd60bb3937d2663c397e1e28238c4f63f02c5b.tar.gz
SERVER-30997 fix error code
(cherry picked from commit 40a611d43c5a33f72066ffcf26708e43bbd4cd16)
Diffstat (limited to 'src/mongo/client')
-rw-r--r--src/mongo/client/mongo_uri.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/mongo_uri.cpp b/src/mongo/client/mongo_uri.cpp
index ddc64a2ff60..f670ff1c085 100644
--- a/src/mongo/client/mongo_uri.cpp
+++ b/src/mongo/client/mongo_uri.cpp
@@ -299,7 +299,7 @@ bool MongoURI::isMongoURI(StringData uri) {
}
std::string MongoURI::redact(StringData url) {
- uassert(50891, "String passed to MongoURI::redact wasn't a MongoURI", isMongoURI(url));
+ uassert(50892, "String passed to MongoURI::redact wasn't a MongoURI", isMongoURI(url));
URIParts parts(url);
std::ostringstream out;