Fixed Prowl ExternalNotifcation.

pull/6/head
Mark McDowall 13 years ago
parent bbd5cba272
commit 1cf17cfc11

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

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

@ -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()
{

Loading…
Cancel
Save