diff options
-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) << "'"); } |