mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[rules] Throw exception on API request error.
This commit is contained in:
@@ -38,6 +38,7 @@ namespace West.TelegramBot.ChatManagement.Handler
|
||||
catch (ApiRequestException)
|
||||
{
|
||||
Db.MarkAsDeleted(opt);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user