🐛 call format_exception so that 3.8-compatible
This commit is contained in:
parent
5085f4b700
commit
0b44315bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ class Autopilot(ContinueBaseModel):
|
|||
error_string = (
|
||||
e.message
|
||||
if is_continue_custom_exception
|
||||
else "\n".join(traceback.format_exception(e))
|
||||
else "\n".join(traceback.format_exception(e, e, e.__traceback__))
|
||||
)
|
||||
error_title = (
|
||||
e.title if is_continue_custom_exception else get_error_title(e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue