mirror of
https://github.com/apache/activemq.git
synced 2025-02-07 02:29:21 +00:00
AMQ-6765 Add trace logging of start failure exception
Log the exception at trace level when start fails. (cherry picked from commit 56bed30c6427a1cc6b41e0d289a97c3e5b4582c4)
This commit is contained in:
parent
7ab743a053
commit
7a2c4eecb2
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user