Quick fix for email false positive message. ISSUE: #1286

This commit is contained in:
Dhruv Bhavsar 2017-03-26 12:15:33 -04:00
commit 3f0cc99f56
4 changed files with 33 additions and 27 deletions

View file

@ -227,6 +227,7 @@ namespace Ombi.Services.Notification
catch (Exception e)
{
Log.Error(e);
throw new InvalidOperationException(e.Message);
}
}

View file

@ -97,6 +97,7 @@ namespace Ombi.Services.Notification
catch (Exception ex)
{
Log.Error(ex, $"Notification '{notification.NotificationName}' failed with exception");
throw new InvalidOperationException(ex.Message);
}
}
}