Skip to content

FlowJob implementation doesn't set the exception message in JobExecution.ExitStatus.ExitDescription when exception is thrown #3740

Open
@jeronimogalicia

Description

@jeronimogalicia

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions