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:
Robert Davies 2006-11-13 19:49:33 +00:00
parent 8396de884b
commit 43d2ef0469
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ public class TransportConnection implements Service, Connection, Task, CommandVi
else if( !disposed.get() && !inServiceException ) {
inServiceException = true;
try {
if( serviceLog.isDebugEnabled() )
serviceLog.debug("Async error occurred: "+e,e);
serviceLog.error("Async error occurred: "+e,e);
ConnectionError ce = new ConnectionError();
ce.setException(e);
dispatchAsync(ce);