summaryrefslogtreecommitdiff
path: root/src/mongo/shell/bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/bench.cpp')
-rw-r--r--src/mongo/shell/bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp
index e0ef5b9ba3a..a743f667111 100644
--- a/src/mongo/shell/bench.cpp
+++ b/src/mongo/shell/bench.cpp
@@ -631,7 +631,7 @@ void doNothing(const BSONObj&) {}
* single object in the query result set (or the empty object, if the result set is empty).
* If 'qr' doesn't have these options set, then nullptr must be passed for 'objOut'.
*
- * On error, throws a UserException.
+ * On error, throws a AssertionException.
*/
int runQueryWithReadCommands(DBClientBase* conn,
unique_ptr<QueryRequest> qr,