Reduce log noise: downgrade periodic WebSocket rotation from ERROR to INFO
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -93,6 +93,9 @@ async def connect_and_serve():
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
await _run_connection()
|
await _run_connection()
|
||||||
|
except ConnectionError:
|
||||||
|
logger.info("Connection rotated by server, reconnecting...")
|
||||||
|
await asyncio.sleep(5)
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.exception("Connection lost, reconnecting in 5s...")
|
logger.exception("Connection lost, reconnecting in 5s...")
|
||||||
await asyncio.sleep(5)
|
await asyncio.sleep(5)
|
||||||
|
|||||||
Reference in New Issue
Block a user