From 56bed30c6427a1cc6b41e0d289a97c3e5b4582c4 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Tue, 11 Jul 2017 15:43:32 -0400 Subject: [PATCH] AMQ-6765 Add trace logging of start failure exception Log the exception at trace level when start fails. --- .../org/apache/activemq/transport/http/HttpClientTransport.java | 1 + 1 file changed, 1 insertion(+) diff --git a/activemq-http/src/main/java/org/apache/activemq/transport/http/HttpClientTransport.java b/activemq-http/src/main/java/org/apache/activemq/transport/http/HttpClientTransport.java index 153e5d6dd9..2480daae22 100644 --- a/activemq-http/src/main/java/org/apache/activemq/transport/http/HttpClientTransport.java +++ b/activemq-http/src/main/java/org/apache/activemq/transport/http/HttpClientTransport.java @@ -281,6 +281,7 @@ public class HttpClientTransport extends HttpTransportSupport { httpClient.execute(httpMethod, new BasicResponseHandler()); httpClient.execute(optionsMethod, handler); } catch(Exception e) { + LOG.trace("Error on start: ", e); throw new IOException("Failed to perform GET on: " + remoteUrl + " as response was: " + e.getMessage()); }