mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 05:00:23 +03:00
Forgot the actual try catch clause
This commit is contained in:
parent
2bd63f7887
commit
f3d5d71c63
|
@ -1785,6 +1785,7 @@ class TelegramClient(TelegramBareClient):
|
||||||
except StopPropagation:
|
except StopPropagation:
|
||||||
__log__.info("Event handler '{}' stopped chain of propagation for update {}.".format(
|
__log__.info("Event handler '{}' stopped chain of propagation for update {}.".format(
|
||||||
callback.__name__, type(update).__name__))
|
callback.__name__, type(update).__name__))
|
||||||
|
break
|
||||||
|
|
||||||
def add_event_handler(self, callback, event):
|
def add_event_handler(self, callback, event):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user