fix notification tests

pull/110/head
Drewster727 8 years ago
parent eddce77ff5
commit a2cbcaa4f1

@ -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…
Cancel
Save