This commit is contained in:
burnettk 2023-05-10 10:17:12 -04:00
parent 1efbb8f564
commit 821e3ccbf5
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ def _interstitial_stream(process_instance: ProcessInstanceModel) -> Generator[st
processor.save() # Fixme - maybe find a way not to do this on every loop? processor.save() # Fixme - maybe find a way not to do this on every loop?
except WorkflowTaskException as wfe: except WorkflowTaskException as wfe:
api_error = ApiError.from_workflow_exception( api_error = ApiError.from_workflow_exception(
"engine_steps_error", "Failed complete an automated task.", exp=wfe "engine_steps_error", "Failed to complete an automated task.", exp=wfe
) )
yield render_data("error", api_error) yield render_data("error", api_error)
return return