summaryrefslogtreecommitdiff
path: root/src/mongo/rpc
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2023-04-18 07:41:17 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-18 08:57:59 +0000
commit274cb477d2a1b64ac81b85e9f1b3172387ce0184 (patch)
treee89f778fa52a40413403b6a125b69271cf8469c0 /src/mongo/rpc
parent8863b04c282557081cf2634bce0e26f4fa5389b2 (diff)
downloadmongo-274cb477d2a1b64ac81b85e9f1b3172387ce0184.tar.gz
SERVER-74486 Always include tenant in collection name attributes in error messages
Diffstat (limited to 'src/mongo/rpc')
-rw-r--r--src/mongo/rpc/legacy_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/rpc/legacy_request.cpp b/src/mongo/rpc/legacy_request.cpp
index 79b0060e494..1d02e4c5027 100644
--- a/src/mongo/rpc/legacy_request.cpp
+++ b/src/mongo/rpc/legacy_request.cpp
@@ -48,7 +48,7 @@ OpMsgRequest opMsgRequestFromLegacyRequest(const Message& message) {
if (qm.queryOptions & QueryOption_Exhaust) {
uasserted(18527,
str::stream() << "The 'exhaust' OP_QUERY flag is invalid for commands: "
- << ns.ns() << " " << qm.query.toString());
+ << ns.toStringForErrorMsg() << " " << qm.query.toString());
}
uassert(40473,