diff --git a/aider/report.py b/aider/report.py index caabf8f7a..7530964b6 100644 --- a/aider/report.py +++ b/aider/report.py @@ -55,8 +55,14 @@ def exception_handler(exc_type, exc_value, exc_traceback): tb_lines = traceback.format_exception(exc_type, exc_value, exc_traceback) tb_text = "".join(tb_lines) + # Find the first non-frozen frame + while exc_traceback: + filename = exc_traceback.tb_frame.f_code.co_filename + if not filename.startswith('