fix notification tests

This commit is contained in:
Drewster727 2016-03-28 20:50:18 -05:00
parent eddce77ff5
commit a2cbcaa4f1

View file

@ -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");
}
}