fix: use system_error_text for lk error handling

This commit is contained in:
Денис Кривоченко
2026-07-30 23:42:37 +07:00
parent 4fbca23c6b
commit 5f1c023652
+1 -1
View File
@@ -122,7 +122,7 @@ def log_and_notify_error(user_id: str, action: str, error_details: str):
async def handle_lk_error(msg: Message, user_id: str, action: str, error_details: str): async def handle_lk_error(msg: Message, user_id: str, action: str, error_details: str):
await asyncio.to_thread(log_and_notify_error, user_id, action, error_details) await asyncio.to_thread(log_and_notify_error, user_id, action, error_details)
error_msg = lk_error_handling(EMOJI_DIGITS) error_msg = system_error_text(EMOJI_DIGITS)
await msg.answer(error_msg, parse_mode="html") await msg.answer(error_msg, parse_mode="html")
# ========================================================= # =========================================================