From a51cec79c1ad10922ffa8f86b09bbe77dd83a72e Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 25 Jul 2026 21:26:58 +0800 Subject: [PATCH] fix: suppress noisy WS keepalive timeout tracebacks --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 2b11bcb..78ad8a9 100644 --- a/app.py +++ b/app.py @@ -96,8 +96,8 @@ async def websocket_endpoint(ws: WebSocket): await ws.send_json({"type": "pong"}) except WebSocketDisconnect: pass - except Exception as e: - logger.error("WS error: %s", e) + except Exception: + pass finally: ws_manager.disconnect(cid)