Skip to content

Commit 187a487

Browse files
Fix exception
1 parent abe4fda commit 187a487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replit_river/client_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async def send_rpc(
6464
try:
6565
async with asyncio.timeout(int(timeout.total_seconds())):
6666
response = await output.get()
67-
except asyncio.CancelledError as e:
67+
except asyncio.TimeoutError as e:
6868
# TODO(dstewart) After protocol v2, change this to STREAM_CANCEL_BIT
6969
await self.send_message(
7070
stream_id=stream_id,

0 commit comments

Comments
 (0)