mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: When executing the knowledge base workflow, the loop node reported an error and the workflow was not terminated (#4532)
This commit is contained in:
parent
15440479cf
commit
f36d881c88
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue