mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
fix notification tests
This commit is contained in:
parent
eddce77ff5
commit
a2cbcaa4f1
1 changed files with 8 additions and 2 deletions
|
@ -67,8 +67,14 @@ namespace PlexRequests.Services.Notification
|
|||
|
||||
private static async Task NotifyAsync(INotification notification, NotificationModel model)
|
||||
{
|
||||
|
||||
await NotifyAsync(notification, model, null);
|
||||
try
|
||||
{
|
||||
await notification.NotifyAsync(model).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, $"Notification '{notification.NotificationName}' failed with exception");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue