From 34d7fa7c13b75d696e3a33e2593889acd8244b9b 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 9a5c76c49..9c0a38f4c 100644 --- a/main.py +++ b/main.py @@ -355,6 +355,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))