diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java b/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java index 3403e09e9b..94fb6fe6b6 100755 --- a/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/tcp/TcpTransport.java @@ -208,7 +208,7 @@ public class TcpTransport extends TransportThreadSupport implements Transport, S onException(e); } catch (Throwable e){ stoppedLatch.get().countDown(); - IOException ioe=new IOException("Unexpected error occured"); + IOException ioe=new IOException("Unexpected error occured: " + e); ioe.initCause(e); onException(ioe); }finally {