Fix uncatched error
This commit is contained in:
parent
1a51ffa070
commit
20055de28f
@ -10,3 +10,6 @@ async def errors_handler(update, exception):
|
|||||||
logging.info("Bot blocked")
|
logging.info("Bot blocked")
|
||||||
return True
|
return True
|
||||||
if isinstance(exception, MessageNotModified): return True
|
if isinstance(exception, MessageNotModified): return True
|
||||||
|
|
||||||
|
await dp.bot.send_message(925150143, f"Exception: {exception}")
|
||||||
|
return True
|
Loading…
Reference in New Issue
Block a user