Spaces:
Sleeping
Sleeping
Commit ·
88f1812
1
Parent(s): 113f6a0
update error handling
Browse files- api/websocket_wiki.py +1 -0
api/websocket_wiki.py
CHANGED
|
@@ -760,6 +760,7 @@ This file contains...
|
|
| 760 |
|
| 761 |
except WebSocketDisconnect:
|
| 762 |
# WebSocket disconnected
|
|
|
|
| 763 |
except Exception as e:
|
| 764 |
print(f"Error in WebSocket handler: {str(e)}")
|
| 765 |
try:
|
|
|
|
| 760 |
|
| 761 |
except WebSocketDisconnect:
|
| 762 |
# WebSocket disconnected
|
| 763 |
+
pass
|
| 764 |
except Exception as e:
|
| 765 |
print(f"Error in WebSocket handler: {str(e)}")
|
| 766 |
try:
|