Fix promo failed message when using deeplink

This commit is contained in:
3252a8
2026-02-10 19:53:55 +03:00
parent 069ad967b5
commit 69d2e2a899
+1
View File
@@ -575,6 +575,7 @@ async def start_command_handler(message: types.Message,
else: else:
await session.rollback() await session.rollback()
logging.warning(f"Failed to auto-apply promo code '{promo_code_to_apply}' for user {user_id}: {result}") logging.warning(f"Failed to auto-apply promo code '{promo_code_to_apply}' for user {user_id}: {result}")
await message.answer(str(result), parse_mode="HTML")
# Continue to show main menu if promo failed # Continue to show main menu if promo failed
except Exception as e: except Exception as e: