Skip to content

Commit 84970f7

Browse files
committed
add general logging error
1 parent 0dc8670 commit 84970f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patchwork/common/tools/tool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def execute_logging_wrapper(self, *args, **kwargs):
7777
try:
7878
return func(self, *args, **kwargs)
7979
except Exception as e:
80+
logger.error(f"Error executing Tool: {self.name}: {e}")
8081
return f"Error: {e}"
8182

8283
return execute_logging_wrapper

0 commit comments

Comments
 (0)