mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +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:
|
try:
|
||||||
self.live.console.print(show)
|
self.live.console.print(show)
|
||||||
except UnicodeEncodeError as err:
|
except UnicodeEncodeError as err:
|
||||||
print(err)
|
print("unicode error", err)
|
||||||
print(repr(show))
|
print("show string", repr(show.encode("utf-8")))
|
||||||
raise err
|
raise err
|
||||||
|
|
||||||
self.printed = lines[:num_lines]
|
self.printed = lines[:num_lines]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue