Skip to content

Commit 8c9c35f

Browse files
authored
Fix child wf state machine returning fatal instead of NDE (#536)
1 parent ee82f43 commit 8c9c35f

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)