Logging original Exception not just message.

This commit is contained in:
Mark Fisher
2007-12-18 16:28:47 +00:00
parent dcf0078cc4
commit e174a9222a

View File

@@ -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++;