IN PROGRESS - BATCH-962: refactor TaskletStep's exception handling for better clarity
removed redundant StepExecution update
This commit is contained in:
@@ -366,11 +366,6 @@ public class TaskletStep extends AbstractStep {
|
||||
}
|
||||
}
|
||||
|
||||
if (fatalException.hasException()) {
|
||||
// Try and give the system a chance to update the stepExecution with
|
||||
// the failure status.
|
||||
getJobRepository().update(stepExecution);
|
||||
}
|
||||
}
|
||||
|
||||
private static class ExceptionHolder {
|
||||
|
||||
Reference in New Issue
Block a user