Fixed the websocket

This commit is contained in:
algizn97
2025-11-19 16:50:18 +05:00
parent 56729c287b
commit 1f123c77e7
2 changed files with 16 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
import logging.config
import math
# import json
import json
import app.telegram.keyboards.inline as kbi
import database.request as rq
from app.bybit.get_functions.get_instruments_info import get_instruments_info
@@ -373,5 +373,7 @@ class TelegramMessageHandler:
)
logger.info("Stop trading for symbol: %s, create_type: %s, stop_order_type: %s: %s",
symbol, create_type, stop_order_type, tg_id)
else:
logger.info("Execution update: %s", json.dumps(message))
except Exception as e:
logger.error("Error in telegram_message_handler: %s", e, exc_info=True)