Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Nov 4, 2024
1 parent 966a613 commit 129f5fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions aider/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,7 @@ def read_text(self, filename):
with open(str(filename), "r", encoding=self.encoding) as f:
return f.read()
except OSError as err:
import traceback

self.tool_error(f"{filename}: unable to read: {err}")
self.tool_error("Traceback:\n" + "".join(traceback.format_stack()))
return
except FileNotFoundError:
self.tool_error(f"{filename}: file not found error")
Expand Down

0 comments on commit 129f5fa

Please sign in to comment.