sync launch ad stability

This commit is contained in:
Dobromir Popov
2024-10-16 11:50:08 +03:00
parent 1ee8c6cb0b
commit e5d3a80259
2 changed files with 10 additions and 4 deletions

View File

@ -1217,7 +1217,7 @@ async def wallet_watch_loop():
await unsubscribe(websocket, subscription_id)
await send_telegram_message("reconnecting...")
logger.info(f"Attempting to reconnect in {reconnect_delay} seconds...")
websocket.close()
await websocket.close()
except Exception as e:
logger.error(f"An unexpected error occurred - breaking watch loop: {e}")