From 5ac4048c312ca8420ae37f04481342116db371c7 Mon Sep 17 00:00:00 2001 From: darksidecat <58224121+darksidecat@users.noreply.github.com> Date: Tue, 5 Oct 2021 23:40:19 +0300 Subject: [PATCH] accept proposed changes Co-authored-by: Alex Root Junior --- aiogram/client/session/middlewares/request_logging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiogram/client/session/middlewares/request_logging.py b/aiogram/client/session/middlewares/request_logging.py index f9a1b3ac..67df277d 100644 --- a/aiogram/client/session/middlewares/request_logging.py +++ b/aiogram/client/session/middlewares/request_logging.py @@ -31,8 +31,8 @@ class RequestLogging(BaseRequestMiddleware): ) -> Response[TelegramObject]: if type(method) not in self.ignore_methods: loggers.middlewares.info( - "Make request with method=%s by bot id=%d", - method.__class__.__name__, + "Make request with method=%r by bot id=%d", + type(method).__name__, bot.id, ) return await make_request(bot, method)