fix: wrap entire SD handler in try-except to prevent crashes when SD is unreachable
This commit is contained in:
@@ -393,3 +393,4 @@ async def sd_module_handler(msg: Message):
|
|||||||
elif msg_text.strip():
|
elif msg_text.strip():
|
||||||
await msg.answer(UNKNOWN_MAIN_CMD_TEXT, parse_mode="html")
|
await msg.answer(UNKNOWN_MAIN_CMD_TEXT, parse_mode="html")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user