OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step

http://jira.springframework.org/browse/BATCH-378

Log exceptio nas well.
This commit is contained in:
dsyer
2008-02-28 15:45:31 +00:00
parent add7b2f806
commit 611ab8bfbe

View File

@@ -208,7 +208,7 @@ public class TaskletStep implements Step, InitializingBean, BeanNameAware {
exitStatus = exitStatus.and(listener.close());
}
catch (Exception e) {
logger.error("Encountered an error on listener close.");
logger.error("Encountered an error on listener close.", e);
}
stepExecution.setExitStatus(exitStatus);
stepExecution.setEndTime(new Date());