Log exceptions as errors
This commit is contained in:
@@ -115,11 +115,9 @@ public class DiscoveryClientServiceInstanceListSupplier
|
||||
}
|
||||
|
||||
private void logException(Throwable error) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug(String.format(
|
||||
"Exception occurred while retrieving instances for service %s",
|
||||
serviceId), error);
|
||||
}
|
||||
LOG.error(String.format(
|
||||
"Exception occurred while retrieving instances for service %s",
|
||||
serviceId), error);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user