Skip to content

Commit

Permalink
Devin thinks it would make more sense to call this at the end of the …
Browse files Browse the repository at this point in the history
…method rather than the start so that the exception is updated before `context.onFailure(t)` is called in the superclass.
  • Loading branch information
basil committed Aug 14, 2021
1 parent e51738d commit dcf8176
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ private class Callback extends BodyExecutionCallback.TailCall {

@Override
public void onFailure(StepContext context, Throwable t) {
super.onFailure(context, t);
if (t instanceof FlowInterruptedException) {
/*
* Check whether the FlowInterruptedException has propagated past the corresponding
Expand All @@ -289,6 +288,7 @@ public void onFailure(StepContext context, Throwable t) {
}
}
}
super.onFailure(context, t);
}

private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit dcf8176

Please sign in to comment.