ensure stack trace is in trace logging of exception

This commit is contained in:
gtully 2014-01-29 12:44:51 +00:00
parent e102e64e9d
commit 146fb12108
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ public class FailoverTransport implements CompositeTransport {
public final void handleTransportFailure(IOException e) throws InterruptedException { public final void handleTransportFailure(IOException e) throws InterruptedException {
synchronized (reconnectMutex) { synchronized (reconnectMutex) {
if (LOG.isTraceEnabled()) { if (LOG.isTraceEnabled()) {
LOG.trace(this + " handleTransportFailure: " + e); LOG.trace(this + " handleTransportFailure: " + e, e);
} }
Transport transport = connectedTransport.getAndSet(null); Transport transport = connectedTransport.getAndSet(null);