From 377fecffd7b9dbadf119a09729684bf0c23bde5b Mon Sep 17 00:00:00 2001 From: Platon Floria Date: Thu, 2 May 2024 10:24:31 +0300 Subject: [PATCH] chore: add debug logging --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 7fe932f64..9ed651803 100644 --- a/main.py +++ b/main.py @@ -353,6 +353,8 @@ async def inner(mgr): mgr.pools_to_add_from_contracts = [] except websockets.exceptions.ConnectionClosedError: logger.info("Websocket connection lost. Reconnecting ...") + mgr.cfg.logger.info("Websocket connection lost. Reconnecting ...") + print("Websocket connection lost. Reconnecting ...") await asyncio.sleep(1) asyncio.run(inner(mgr))