Spaces:
Runtime error
Runtime error
Commit
·
e0578db
1
Parent(s):
6bd4ed1
Update main.py
Browse files
main.py
CHANGED
|
@@ -197,11 +197,11 @@ async def websocket_endpoint(websocket: WebSocket):
|
|
| 197 |
|
| 198 |
except asyncio.TimeoutError:
|
| 199 |
print("WebSocket connection timed out")
|
| 200 |
-
break
|
| 201 |
|
| 202 |
except WebSocketDisconnect:
|
| 203 |
print("WebSocket disconnected")
|
| 204 |
-
break
|
| 205 |
|
| 206 |
except Exception as e:
|
| 207 |
print(f"Error in WebSocket connection {client_id}: {e}")
|
|
|
|
| 197 |
|
| 198 |
except asyncio.TimeoutError:
|
| 199 |
print("WebSocket connection timed out")
|
| 200 |
+
#break
|
| 201 |
|
| 202 |
except WebSocketDisconnect:
|
| 203 |
print("WebSocket disconnected")
|
| 204 |
+
#break
|
| 205 |
|
| 206 |
except Exception as e:
|
| 207 |
print(f"Error in WebSocket connection {client_id}: {e}")
|