diff --git a/apps/tgbot/tgbot/handlers/helpers.py b/apps/tgbot/tgbot/handlers/helpers.py index 2f77810..58c0797 100644 --- a/apps/tgbot/tgbot/handlers/helpers.py +++ b/apps/tgbot/tgbot/handlers/helpers.py @@ -62,7 +62,7 @@ async def send_api_request(client: AsyncClient, endpoint: str, data: dict, node: f"{node.address}/{endpoint}", params=data ) except Exception as e: - logger.error(f"Node {node.address} got Error. Full exception: {e}") + logger.error(f"Node {node.address} got Error. Data: {data}. Endpoint: {endpoint}. Full exception: {e}") result = Response(500) await send_message_to_admins(f"Node {node.address} got error {e}. Full exception: ```{format_exc()}```") await push_api_request_status(