feat(tool_node): Suppress exceptions thrown by the Tool (#11724)
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
74fdc16bd1
commit
92a840f1b2
2 changed files with 13 additions and 3 deletions
|
|
@ -271,9 +271,9 @@ class WorkflowCycleManage:
|
|||
|
||||
db.session.close()
|
||||
|
||||
with Session(db.engine, expire_on_commit=False) as session:
|
||||
session.add(workflow_run)
|
||||
session.refresh(workflow_run)
|
||||
# with Session(db.engine, expire_on_commit=False) as session:
|
||||
# session.add(workflow_run)
|
||||
# session.refresh(workflow_run)
|
||||
|
||||
if trace_manager:
|
||||
trace_manager.add_trace_task(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue