mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +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
82cd95434b
commit
446b9a8f89
|
|
@ -89,6 +89,8 @@ class KnowledgeWorkflowManage(WorkflowManage):
|
||||||
if result is not None:
|
if result is not None:
|
||||||
# 阻塞获取结果
|
# 阻塞获取结果
|
||||||
list(result)
|
list(result)
|
||||||
|
if current_node.status == 500:
|
||||||
|
return None
|
||||||
return current_result
|
return current_result
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue