mirror of https://github.com/apache/activemq.git
AMQ-6765 Add trace logging of start failure exception
Log the exception at trace level when start fails.
This commit is contained in:
parent
d7f70837b7
commit
56bed30c64
|
@ -281,6 +281,7 @@ public class HttpClientTransport extends HttpTransportSupport {
|
||||||
httpClient.execute(httpMethod, new BasicResponseHandler());
|
httpClient.execute(httpMethod, new BasicResponseHandler());
|
||||||
httpClient.execute(optionsMethod, handler);
|
httpClient.execute(optionsMethod, handler);
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
|
LOG.trace("Error on start: ", e);
|
||||||
throw new IOException("Failed to perform GET on: " + remoteUrl + " as response was: " + e.getMessage());
|
throw new IOException("Failed to perform GET on: " + remoteUrl + " as response was: " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue