We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d4263 commit 47053e7Copy full SHA for 47053e7
driver-core/src/main/com/mongodb/internal/connection/MessageHeader.java
@@ -38,7 +38,7 @@ class MessageHeader {
38
opCode = header.getInt();
39
40
if (messageLength > maxMessageLength) {
41
- throw new MongoInternalException(String.format("The reply message length %d is less than the maximum message length %d",
+ throw new MongoInternalException(String.format("The reply message length %d is greater than the maximum message length %d",
42
messageLength, maxMessageLength));
43
}
44
0 commit comments