fix: When executing the knowledge base workflow, the loop node reported an error and the workflow was not terminated

This commit is contained in:
shaohuzhang1 2025-12-17 14:27:33 +08:00
parent d8e03e650c
commit f8a81bb74e

View File

@ -89,6 +89,8 @@ class KnowledgeWorkflowManage(WorkflowManage):
if result is not None:
# 阻塞获取结果
list(result)
if current_node.status == 500:
return None
return current_result
except Exception as e:
traceback.print_exc()