mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 02:24:52 +00:00
Update dev.py
Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
parent
fbed06d82b
commit
340fa29896
1 changed files with 2 additions and 5 deletions
|
|
@ -665,11 +665,8 @@ async def update_restart(_, ctx: Message, strings):
|
|||
async def error_handlers(_: "Client", __: "Update", error: "Exception") -> None:
|
||||
if isinstance(error, (FloodWait, SlowmodeWait)):
|
||||
await asyncio.sleep(error.value)
|
||||
# else:
|
||||
# if config.DEBUG_MODE:
|
||||
# LOGGER.error(repr(error))
|
||||
# else:
|
||||
# return None
|
||||
else:
|
||||
LOGGER.error(repr(error))
|
||||
|
||||
|
||||
@app.on_raw_update(group=-99)
|
||||
|
|
|
|||
Loading…
Reference in a new issue