The log is hidden

This commit is contained in:
algizn97
2025-11-02 17:33:11 +05:00
parent e0167ea406
commit 3ba32660ea

View File

@@ -1,6 +1,6 @@
import logging.config import logging.config
import math import math
import json # import json
import app.telegram.keyboards.inline as kbi import app.telegram.keyboards.inline as kbi
import database.request as rq import database.request as rq
from app.bybit.get_functions.get_instruments_info import get_instruments_info from app.bybit.get_functions.get_instruments_info import get_instruments_info
@@ -57,7 +57,7 @@ class TelegramMessageHandler:
async def format_execution_update(self, message, tg_id): async def format_execution_update(self, message, tg_id):
try: try:
logger.info("Execution update: %s", json.dumps(message)) # logger.info("Execution update: %s", json.dumps(message))
execution = message.get("data", [{}])[0] execution = message.get("data", [{}])[0]
exec_type = format_value(execution.get("execType")) exec_type = format_value(execution.get("execType"))
if exec_type == "Trade" or exec_type == "BustTrade": if exec_type == "Trade" or exec_type == "BustTrade":