git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991536 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-01 13:46:03 +00:00
parent cf1e9fbddf
commit 17e87adb2e
1 changed files with 3 additions and 3 deletions

View File

@ -173,10 +173,10 @@ public class ServerSessionImpl implements ServerSession, InboundContext, Work, D
} }
} catch (Throwable e) { } catch (Throwable e) {
stale = true; stale = true;
if ( log.isInfoEnabled() ) { if ( log.isDebugEnabled() ) {
log.debug("Endpoint failed to process message.", e);
} else if ( log.isInfoEnabled() ) {
log.info("Endpoint failed to process message. Reason: " + e.getMessage()); log.info("Endpoint failed to process message. Reason: " + e.getMessage());
} else if ( log.isDebugEnabled() ) {
log.debug("Endpoint failed to process message.", e);
} }
} finally { } finally {
InboundContextSupport.unregister(this); InboundContextSupport.unregister(this);