From 48165331a3465371f74b84ba3fd9f021fc0a4538 Mon Sep 17 00:00:00 2001 From: MasterPtato <23087326+MasterPtato@users.noreply.github.com> Date: Tue, 27 Aug 2024 18:57:44 +0000 Subject: [PATCH] fix(workflows): add back location bump to catch unrec (#1087) ## Changes --- lib/chirp-workflow/core/src/ctx/workflow.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/chirp-workflow/core/src/ctx/workflow.rs b/lib/chirp-workflow/core/src/ctx/workflow.rs index d39349901f..d8ea944593 100644 --- a/lib/chirp-workflow/core/src/ctx/workflow.rs +++ b/lib/chirp-workflow/core/src/ctx/workflow.rs @@ -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));