diff --git a/src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java b/src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java index 76382bc2..67dc859a 100644 --- a/src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java +++ b/src/main/java/org/jenkinsci/plugins/workflow/flow/FlowExecutionList.java @@ -262,7 +262,11 @@ public void onSuccess(List result) { } LOGGER.log(Level.FINE, "Will resume {0}", result); for (StepExecution se : result) { - se.onResume(); + try { + se.onResume(); + } catch (Throwable x) { + se.getContext().onFailure(x); + } } }