mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04:51 +00:00
Log UpdateChannelTooLong updates
This commit is contained in:
parent
8bb4fdd67d
commit
e414956e71
1 changed files with 3 additions and 0 deletions
|
|
@ -778,6 +778,9 @@ class Client(Methods, BaseClient):
|
||||||
pts = getattr(update, "pts", None)
|
pts = getattr(update, "pts", None)
|
||||||
pts_count = getattr(update, "pts_count", None)
|
pts_count = getattr(update, "pts_count", None)
|
||||||
|
|
||||||
|
if isinstance(update, types.UpdateChannelTooLong):
|
||||||
|
log.warning(update)
|
||||||
|
|
||||||
if isinstance(update, types.UpdateNewChannelMessage):
|
if isinstance(update, types.UpdateNewChannelMessage):
|
||||||
message = update.message
|
message = update.message
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue