Skip to content

Commit 47053e7

Browse files
pkhruasu-uirozza
authored andcommitted
Change "less" to "greater" in error message
1 parent f0d4263 commit 47053e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/main/com/mongodb/internal/connection/MessageHeader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class MessageHeader {
3838
opCode = header.getInt();
3939

4040
if (messageLength > maxMessageLength) {
41-
throw new MongoInternalException(String.format("The reply message length %d is less than the maximum message length %d",
41+
throw new MongoInternalException(String.format("The reply message length %d is greater than the maximum message length %d",
4242
messageLength, maxMessageLength));
4343
}
4444
}

0 commit comments

Comments
 (0)