mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Also log UpdatesTooLong
This commit is contained in:
parent
e414956e71
commit
29fb0ce599
@ -839,6 +839,8 @@ class Client(Methods, BaseClient):
|
||||
self.dispatcher.updates.put((diff.other_updates[0], [], []))
|
||||
elif isinstance(updates, types.UpdateShort):
|
||||
self.dispatcher.updates.put((updates.update, [], []))
|
||||
elif isinstance(updates, types.UpdatesTooLong):
|
||||
log.warning(updates)
|
||||
except Exception as e:
|
||||
log.error(e, exc_info=True)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user