From 6f29813f06b71ff90841bb29161767f9c8a5500c Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sun, 12 Jan 2025 11:40:58 +0700 Subject: [PATCH] Update dev.py Signed-off-by: Yasir Aris M --- misskaty/plugins/dev.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py index aefbafd3..1b89e7d7 100644 --- a/misskaty/plugins/dev.py +++ b/misskaty/plugins/dev.py @@ -665,11 +665,11 @@ 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: + # if config.DEBUG_MODE: + # LOGGER.error(repr(error)) + # else: + # return None @app.on_raw_update(group=-99)