Improved logging.
This commit is contained in:
parent
bbc2d0c29d
commit
da80498c56
|
@ -435,7 +435,7 @@ public abstract class HttpReceiver
|
||||||
|
|
||||||
HttpResponse response = exchange.getResponse();
|
HttpResponse response = exchange.getResponse();
|
||||||
if (LOG.isDebugEnabled())
|
if (LOG.isDebugEnabled())
|
||||||
LOG.debug("Response failure {} {}", response, failure);
|
LOG.debug("Response failure {} {} on {}: {}", response, exchange, getHttpChannel(), failure);
|
||||||
List<Response.ResponseListener> listeners = exchange.getConversation().getResponseListeners();
|
List<Response.ResponseListener> listeners = exchange.getConversation().getResponseListeners();
|
||||||
ResponseNotifier notifier = getHttpDestination().getResponseNotifier();
|
ResponseNotifier notifier = getHttpDestination().getResponseNotifier();
|
||||||
notifier.notifyFailure(listeners, response, failure);
|
notifier.notifyFailure(listeners, response, failure);
|
||||||
|
|
Loading…
Reference in New Issue