From cee838c37a10b71e192420c484ad6e9741f55811 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 16 Dec 2025 10:53:08 +0800 Subject: [PATCH] fix: Loop internal node error did not terminate workflow --- apps/application/flow/workflow_manage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/application/flow/workflow_manage.py b/apps/application/flow/workflow_manage.py index 5ccde0ae86f..7f23391ff5e 100644 --- a/apps/application/flow/workflow_manage.py +++ b/apps/application/flow/workflow_manage.py @@ -471,6 +471,8 @@ def hand_event_node_result(self, current_node, node_result_future): current_node.node_chunk.add_chunk(chunk) else: list(result) + if current_node.status == 500: + return None return current_result except Exception as e: # 添加节点