Open
Description
Whenever occurs an exception in a standard spring batch program (using simple steps without using flows), the exception message is set in JobExecution.ExitStatus.ExitDescription; however when spring batch work with Flows, the ExitDescription is not set.
As far as I have seen org.springframework.batch.core.job.flow.FlowJob
implementation doesn't update the JobExecutionStatus with an exit description in org.springframework.batch.core.job.flow.JobFlowExecutor.updateJobExecutionStatus(FlowExecutionStatus status)
, it just set the exit status, meanwhile org.springframework.batch.core.job.SimpleJob
implementation does it.