From aa40f2b7ff61946bae9faeae3112e513f1f7eb11 Mon Sep 17 00:00:00 2001 From: deadzilla Date: Tue, 7 Jul 2026 23:10:21 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5:=20=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20f-string=20=D0=BD=D0=B0=20%-=D1=84=D0=BE=D1=80=D0=BC?= =?UTF-8?q?=D0=B0=D1=82=20=D0=B2=20logger.error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 91c29fa..11e39dc 100644 --- a/bot.py +++ b/bot.py @@ -80,7 +80,7 @@ class BotRunner: # Терминал — детали для разработчика cmd_name = ctx.command.name if ctx and ctx.command else "?" logger.error( - f"Ошибка команды {cmd_name}: {error}", + "Ошибка команды %s: %s", cmd_name, error, exc_info=True, )