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 c5e32d4 commit 08eb354Copy full SHA for 08eb354
plugins/yjs/fps_yjs/routes.py
@@ -154,14 +154,14 @@ def __aiter__(self):
154
async def __anext__(self):
155
try:
156
message = await self._websocket.receive_bytes()
157
- except WebSocketDisconnect:
+ except (ConnectionClosedOK, WebSocketDisconnect):
158
raise StopAsyncIteration()
159
return message
160
161
async def send(self, message):
162
163
await self._websocket.send_bytes(message)
164
- except ConnectionClosedOK:
165
return
166
167
async def recv(self):
0 commit comments