From db43079fd4987094a85e3c24674121732a77a7a5 Mon Sep 17 00:00:00 2001 From: robokaso Date: Wed, 17 Sep 2008 08:14:49 +0000 Subject: [PATCH] RESOLVED - BATCH-841: insufficient logging in AbstractStep added exception argument to the logging statement --- .../java/org/springframework/batch/core/step/AbstractStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/step/AbstractStep.java b/spring-batch-core/src/main/java/org/springframework/batch/core/step/AbstractStep.java index 063eb7223..b86c64fd6 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/step/AbstractStep.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/step/AbstractStep.java @@ -192,7 +192,7 @@ public abstract class AbstractStep implements Step, InitializingBean, BeanNameAw } catch (Throwable e) { - logger.error("Encountered an error executing the step: " + e.getClass() + ": " + e.getMessage()); + logger.error("Encountered an error executing the step: " + e.getClass() + ": " + e.getMessage(), e); stepExecution.setStatus(determineBatchStatus(e)); exitStatus = getDefaultExitStatusForFailure(e);