mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
More logging for bad messages (#907)
This commit is contained in:
@@ -611,7 +611,7 @@ class MTProtoSender:
|
||||
bad_msg = message.obj
|
||||
msg = self._pending_messages.get(bad_msg.bad_msg_id)
|
||||
|
||||
__log__.debug('Handling bad msg for message %d', bad_msg.bad_msg_id)
|
||||
__log__.debug('Handling bad msg %s', bad_msg)
|
||||
if bad_msg.error_code in (16, 17):
|
||||
# Sent msg_id too low or too high (respectively).
|
||||
# Use the current msg_id to determine the right time offset.
|
||||
|
Reference in New Issue
Block a user