mirror of https://github.com/apache/druid.git
Log the full stack trace when an HTTP request fails (#6022)
This commit is contained in:
parent
cd8ea3da8d
commit
4a2df2b23a
|
@ -159,8 +159,7 @@ public class DruidLeaderClient
|
|||
}
|
||||
catch (IOException | ChannelException ex) {
|
||||
// can happen if the node is stopped.
|
||||
log.info("Request[%s] failed with msg [%s].", request.getUrl(), ex.getMessage());
|
||||
log.debug(ex, "Request[%s] failed.", request.getUrl());
|
||||
log.warn(ex, "Request[%s] failed.", request.getUrl());
|
||||
|
||||
try {
|
||||
if (request.getUrl().getQuery() == null) {
|
||||
|
|
Loading…
Reference in New Issue