From 373ee8a3281e8e2fc91dcdae17483d4ba46c725c Mon Sep 17 00:00:00 2001 From: -LAN- Date: Tue, 26 Nov 2024 20:50:56 +0800 Subject: [PATCH] fix(llm_node): Removes redundant exception logging Signed-off-by: -LAN- --- api/core/workflow/nodes/llm/node.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/core/workflow/nodes/llm/node.py b/api/core/workflow/nodes/llm/node.py index 39480e34b333e2..d1d7b983ff5abd 100644 --- a/api/core/workflow/nodes/llm/node.py +++ b/api/core/workflow/nodes/llm/node.py @@ -197,7 +197,6 @@ def _run(self) -> NodeRunResult | Generator[NodeEvent | InNodeEvent, None, None] ) return except Exception as e: - logger.exception(f"Node {self.node_id} failed to run") yield RunCompletedEvent( run_result=NodeRunResult( status=WorkflowNodeExecutionStatus.FAILED,