mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
better debug
This commit is contained in:
parent
677ab78aa2
commit
27a6006328
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ class MarkdownStream:
|
|||
try:
|
||||
self.live.console.print(show)
|
||||
except UnicodeEncodeError as err:
|
||||
print(err)
|
||||
print(repr(show))
|
||||
print("unicode error", err)
|
||||
print("show string", repr(show.encode("utf-8")))
|
||||
raise err
|
||||
|
||||
self.printed = lines[:num_lines]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue