mirror of https://github.com/apache/activemq.git
log an error for ConnectionErrors that are not transport or
Broker in shutdown related git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@474465 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8396de884b
commit
43d2ef0469
|
@ -264,8 +264,8 @@ public class TransportConnection implements Service, Connection, Task, CommandVi
|
||||||
else if( !disposed.get() && !inServiceException ) {
|
else if( !disposed.get() && !inServiceException ) {
|
||||||
inServiceException = true;
|
inServiceException = true;
|
||||||
try {
|
try {
|
||||||
if( serviceLog.isDebugEnabled() )
|
|
||||||
serviceLog.debug("Async error occurred: "+e,e);
|
serviceLog.error("Async error occurred: "+e,e);
|
||||||
ConnectionError ce = new ConnectionError();
|
ConnectionError ce = new ConnectionError();
|
||||||
ce.setException(e);
|
ce.setException(e);
|
||||||
dispatchAsync(ce);
|
dispatchAsync(ce);
|
||||||
|
|
Loading…
Reference in New Issue