diff --git a/src/main/java/org/spacehq/packetlib/tcp/TcpSession.java b/src/main/java/org/spacehq/packetlib/tcp/TcpSession.java index cc74912f..30dfeef9 100644 --- a/src/main/java/org/spacehq/packetlib/tcp/TcpSession.java +++ b/src/main/java/org/spacehq/packetlib/tcp/TcpSession.java @@ -352,7 +352,7 @@ public abstract class TcpSession extends SimpleChannelInboundHandler imp } else if(cause instanceof WriteTimeoutException) { message = "Write timed out."; } else { - message = "Internal network exception."; + message = cause.toString(); } this.disconnect(message, cause);