1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 18:28:19 +00:00

Fixed Prowl ExternalNotifcation.

This commit is contained in:
Mark McDowall 2011-11-09 21:05:57 -08:00
parent bbd5cba272
commit 1cf17cfc11
3 changed files with 3 additions and 9 deletions

View file

@ -40,7 +40,6 @@ namespace NzbDrone.Core.Providers.ExternalNotification
catch (Exception ex)
{
_logger.WarnException(ex.Message, ex);
throw;
}
}
@ -64,7 +63,6 @@ namespace NzbDrone.Core.Providers.ExternalNotification
catch (Exception ex)
{
_logger.WarnException(ex.Message, ex);
throw;
}
}

View file

@ -10,8 +10,6 @@ namespace NzbDrone.Core.Providers.ExternalNotification
{
private readonly ProwlProvider _prowlProvider;
private readonly Logger Logger = LogManager.GetCurrentClassLogger();
public Prowl(ConfigProvider configProvider, ProwlProvider prowlProvider)
: base(configProvider)
{
@ -41,8 +39,7 @@ namespace NzbDrone.Core.Providers.ExternalNotification
catch (Exception ex)
{
Logger.WarnException(ex.Message, ex);
throw;
_logger.WarnException(ex.Message, ex);
}
}
@ -64,8 +61,7 @@ namespace NzbDrone.Core.Providers.ExternalNotification
catch (Exception ex)
{
Logger.WarnException(ex.Message, ex);
throw;
_logger.WarnException(ex.Message, ex);
}
}

View file

@ -9,7 +9,7 @@ namespace NzbDrone.Core.Providers
{
public class ProwlProvider
{
private readonly Logger Logger = LogManager.GetCurrentClassLogger();
private readonly Logger Logger = LogManager.GetLogger("ProwlProvider");
public ProwlProvider()
{