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 7, 2024
1 parent dbdf2ab commit 377fecf
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 @@ -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))
Expand Down

0 comments on commit 377fecf

Please sign in to comment.