Logging original Exception not just message.
This commit is contained in:
@@ -70,7 +70,7 @@ public class EndpointExecutor extends ThreadPoolExecutor {
|
||||
EndpointTask task = (EndpointTask) r;
|
||||
if (task.getError() != null) {
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Exception occurred in endpoint execution: " + task.getError());
|
||||
logger.warn("Exception occurred in endpoint execution", task.getError());
|
||||
}
|
||||
this.successiveErrorCount++;
|
||||
this.totalErrorCount++;
|
||||
|
||||
Reference in New Issue
Block a user