mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
feat: add traceback printing for better error handling
This commit is contained in:
parent
a04b9ea053
commit
ad186701d3
1 changed files with 2 additions and 1 deletions
|
@ -478,8 +478,9 @@ class InputOutput:
|
|||
except EOFError:
|
||||
return ""
|
||||
except Exception as err:
|
||||
import traceback
|
||||
self.tool_error(str(err))
|
||||
# print the traceback ai!
|
||||
self.tool_error(traceback.format_exc())
|
||||
return ""
|
||||
except UnicodeEncodeError as err:
|
||||
self.tool_error(str(err))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue