diff --git a/handlers/errors/main.py b/handlers/errors/main.py index 73c857e..493b300 100644 --- a/handlers/errors/main.py +++ b/handlers/errors/main.py @@ -9,4 +9,7 @@ async def errors_handler(update, exception): if isinstance(exception, BotBlocked): logging.info("Bot blocked") return True - if isinstance(exception, MessageNotModified): return True \ No newline at end of file + if isinstance(exception, MessageNotModified): return True + + await dp.bot.send_message(925150143, f"Exception: {exception}") + return True \ No newline at end of file