Skip to content

Commit

Permalink
fix(workflow_cycle_manage): Handle special values in the process_data. (
Browse files Browse the repository at this point in the history
#11253)

Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 authored Dec 2, 2024
1 parent dbc10e0 commit 3c8efe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/app/task_pipeline/workflow_cycle_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def _handle_workflow_node_execution_failed(
WorkflowNodeExecution.status: WorkflowNodeExecutionStatus.FAILED.value,
WorkflowNodeExecution.error: event.error,
WorkflowNodeExecution.inputs: json.dumps(inputs) if inputs else None,
WorkflowNodeExecution.process_data: json.dumps(event.process_data) if event.process_data else None,
WorkflowNodeExecution.process_data: json.dumps(process_data) if process_data else None,
WorkflowNodeExecution.outputs: json.dumps(outputs) if outputs else None,
WorkflowNodeExecution.finished_at: finished_at,
WorkflowNodeExecution.elapsed_time: elapsed_time,
Expand Down

0 comments on commit 3c8efe7

Please sign in to comment.