mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 16:15:29 +00:00
Advice to restart LS in tool failure message
This commit is contained in:
1 parent
36dbf5c681
commit
3b04d0b867
1 file changed
+5
-1
+5
-1
@@ -1071,7 +1071,11 @@ class Tool(Component):
|
||||
if not catch_exceptions:
|
||||
raise
|
||||
msg = f"Error executing tool: {e}\n{traceback.format_exc()}"
|
||||
log.error(f"Error executing tool: {e}", exc_info=e)
|
||||
log.error(
|
||||
f"Error executing tool: {e}. "
|
||||
f"Consider restarting the language server to solve this (especially, if it's a timeout of a symbolic operation)",
|
||||
exc_info=e,
|
||||
)
|
||||
result = msg
|
||||
|
||||
if log_call:
|
||||
|
||||
Reference in new issue
Block a user