Skip to content

Commit 3adb89a

Browse files
committed
Fix child wf state machine returning fatal instead of NDE (#536)
1 parent 0c690a5 commit 3adb89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/worker/workflow/machines/child_workflow_state_machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ impl TryFrom<HistEventData> for ChildWorkflowMachineEvents {
531531
Self::ChildWorkflowExecutionCancelled
532532
}
533533
_ => {
534-
return Err(WFMachinesError::Fatal(format!(
534+
return Err(WFMachinesError::Nondeterminism(format!(
535535
"Child workflow machine does not handle this event: {e:?}"
536536
)))
537537
}

0 commit comments

Comments
 (0)