mirror of https://github.com/apache/activemq.git
ensure the reason is visible in a failure to accept connection due to oom
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1209045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c3feb49a6
commit
dad86e6891
|
@ -208,7 +208,7 @@ public class TcpTransport extends TransportThreadSupport implements Transport, S
|
||||||
onException(e);
|
onException(e);
|
||||||
} catch (Throwable e){
|
} catch (Throwable e){
|
||||||
stoppedLatch.get().countDown();
|
stoppedLatch.get().countDown();
|
||||||
IOException ioe=new IOException("Unexpected error occured");
|
IOException ioe=new IOException("Unexpected error occured: " + e);
|
||||||
ioe.initCause(e);
|
ioe.initCause(e);
|
||||||
onException(ioe);
|
onException(ioe);
|
||||||
}finally {
|
}finally {
|
||||||
|
|
Loading…
Reference in New Issue