RESOLVED - BATCH-841: insufficient logging in AbstractStep

added exception argument to the logging statement
This commit is contained in:
robokaso
2008-09-17 08:14:49 +00:00
parent 8c86a9993e
commit db43079fd4

View File

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