Skip to content

Commit 4407258

Browse files
committed
#90: EOFError
1 parent 7b25676 commit 4407258

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aider/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ async def cancel_input_task(self):
945945
try:
946946
input_task.cancel()
947947
await input_task
948-
except (asyncio.CancelledError, IndexError):
948+
except (asyncio.CancelledError, EOFError, IndexError):
949949
pass
950950

951951
async def cancel_processing_task(self):
@@ -955,7 +955,7 @@ async def cancel_processing_task(self):
955955
try:
956956
processing_task.cancel()
957957
await processing_task
958-
except (asyncio.CancelledError, IndexError):
958+
except (asyncio.CancelledError, EOFError, IndexError):
959959
pass
960960

961961
def add_to_input_history(self, inp):

0 commit comments

Comments
 (0)