[rules] Throw exception on API request error.

This commit is contained in:
West14
2022-01-18 21:50:54 +02:00
parent 6dbb78f86d
commit 1444e3282f
+1
View File
@@ -38,6 +38,7 @@ namespace West.TelegramBot.ChatManagement.Handler
catch (ApiRequestException)
{
Db.MarkAsDeleted(opt);
throw;
}
}