Issue #4217 - Reverting debug output in IllegalStateException

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2019-10-30 17:23:08 -05:00
parent c04997f7e0
commit a3f3612fb4
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 4 deletions

View File

@ -1039,10 +1039,7 @@ public class SslConnection extends AbstractConnection
} }
if (BufferUtil.isEmpty(_encryptedOutput)) if (BufferUtil.isEmpty(_encryptedOutput))
{ {
throw new IllegalStateException( throw new IllegalStateException("Unexpected wrap result " + wrapResultStatus);
String.format("Unexpected wrap result %s (packetBufferSize %d < getPacketBufferSize() %d)",
wrapResultStatus, packetBufferSize, getPacketBufferSize()
));
} }
// fall-through default case to flush() // fall-through default case to flush()
} }