diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py index 54425a19..aefbafd3 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)