mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
more debug on unexepcted error
This commit is contained in:
parent
679e1b8990
commit
479f73871b
1 changed files with 2 additions and 1 deletions
|
@ -1009,7 +1009,8 @@ class Coder:
|
|||
)
|
||||
except Exception as err:
|
||||
self.io.tool_error(f"Unexpected error: {err}")
|
||||
traceback.print_exc()
|
||||
lines = traceback.format_exception(type(err), err, err.__traceback__)
|
||||
self.io.tool_error("".join(lines))
|
||||
return
|
||||
finally:
|
||||
if self.mdstream:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue