mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Also log UpdatesTooLong
This commit is contained in:
parent
e414956e71
commit
29fb0ce599
1 changed files with 2 additions and 0 deletions
|
|
@ -839,6 +839,8 @@ class Client(Methods, BaseClient):
|
||||||
self.dispatcher.updates.put((diff.other_updates[0], [], []))
|
self.dispatcher.updates.put((diff.other_updates[0], [], []))
|
||||||
elif isinstance(updates, types.UpdateShort):
|
elif isinstance(updates, types.UpdateShort):
|
||||||
self.dispatcher.updates.put((updates.update, [], []))
|
self.dispatcher.updates.put((updates.update, [], []))
|
||||||
|
elif isinstance(updates, types.UpdatesTooLong):
|
||||||
|
log.warning(updates)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.error(e, exc_info=True)
|
log.error(e, exc_info=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue