mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-23 04:40:59 +00:00
Catch IntegrityError on INSERT into yookassa_payments when user_id references a deleted user. Rollback the session and return None instead of letting the unhandled exception propagate. Protects all callers (webhook restore, bot handlers, cabinet API, miniapp API).