From c3bddf9440ab4273c89ef474f79022064b8d1a83 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Fri, 2 Jun 2023 23:04:14 +0200 Subject: [PATCH] Add missing formatting arg in logging call Noticed in #4123. --- telethon/client/updates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/client/updates.py b/telethon/client/updates.py index e4ac608b..a69aaf31 100644 --- a/telethon/client/updates.py +++ b/telethon/client/updates.py @@ -363,7 +363,7 @@ class UpdateMethods: continue except errors.TypeNotFoundError as e: self._log[__name__].warning( - 'Cannot get difference since the account is likely misusing the session: %s', + 'Cannot get difference for channel %s since the account is likely misusing the session: %s', get_diff.channel.channel_id, e ) self._message_box.end_channel_difference(