diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-06-09 10:50:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-09 16:17:51 +0000 |
commit | bc12fee0c9919bc8c86b9b13bda95ebd86bb0916 (patch) | |
tree | 325bb7e021713c8a9a6d98ae5ab2a0f4a7a30d72 /src | |
parent | b31b392135d4d17eb282efe4165185b204289c80 (diff) | |
download | mongo-bc12fee0c9919bc8c86b9b13bda95ebd86bb0916.tar.gz |
SERVER-57560 Fix error message typo in `IDLParserErrorContext::checkAndAssertBinDataTypeSlowPath`
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/idl/idl_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/idl/idl_parser.cpp b/src/mongo/idl/idl_parser.cpp index de0ffd40852..a76d75eeba4 100644 --- a/src/mongo/idl/idl_parser.cpp +++ b/src/mongo/idl/idl_parser.cpp @@ -91,7 +91,7 @@ bool IDLParserErrorContext::checkAndAssertBinDataTypeSlowPath(const BSONElement& if (element.binDataType() != type) { std::string path = getElementPath(element); uasserted(ErrorCodes::TypeMismatch, - str::stream() << "BSON field '" << path << "' is the wrong bindData type '" + str::stream() << "BSON field '" << path << "' is the wrong binData type '" << typeName(element.binDataType()) << "', expected type '" << typeName(type) << "'"); } |