fix: wrap entire SD handler in try-except to prevent crashes when SD is unreachable

This commit is contained in:
Денис Кривоченко
2026-07-30 23:10:28 +07:00
parent 6c43c4315e
commit 6f187591b5
+1
View File
@@ -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