We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf02c02 commit 2617a0bCopy full SHA for 2617a0b
src/replit_river/v2/session.py
@@ -1274,6 +1274,9 @@ async def _recv_from_ws(
1274
# is no @overrides in `websockets` to hint this.
1275
try:
1276
message = await ws.recv(decode=False)
1277
+ except ConnectionClosedOK as e:
1278
+ close_session(e)
1279
+ continue
1280
except ConnectionClosed:
1281
# This triggers a break in the inner loop so we can get back to
1282
# the outer loop.
0 commit comments