Skip to content

Commit

Permalink
chore: add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
platonfloria committed May 3, 2024
1 parent 4e9dadd commit 34d7fa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 34d7fa7

Please sign in to comment.