From c68659008b6b359519f50d9d00a433246e6ab4ff Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Thu, 13 Aug 2015 19:31:00 -0700 Subject: [PATCH] Report exceptions from connection thread. --- src/main/java/org/spacehq/packetlib/tcp/TcpClientSession.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/spacehq/packetlib/tcp/TcpClientSession.java b/src/main/java/org/spacehq/packetlib/tcp/TcpClientSession.java index 8dd72527..3971d8e4 100644 --- a/src/main/java/org/spacehq/packetlib/tcp/TcpClientSession.java +++ b/src/main/java/org/spacehq/packetlib/tcp/TcpClientSession.java @@ -104,6 +104,7 @@ public class TcpClientSession extends TcpSession { }); } catch(Throwable t) { complete.set(true); + exceptionCaught(null, t); } } }).start();