Skip to content

Commit

Permalink
fix(workflows): add back location bump to catch unrec (#1087)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Aug 27, 2024
1 parent 0480702 commit 4816533
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/chirp-workflow/core/src/ctx/workflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ impl WorkflowCtx {
if !inner_err.is_recoverable()
&& !matches!(*inner_err, WorkflowError::HistoryDiverged(_))
{
self.location_idx += 1;

return Ok(Err(GlobalError::raw(inner_err)));
} else {
return Err(GlobalError::raw(inner_err));
Expand Down

0 comments on commit 4816533

Please sign in to comment.