1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-24 16:51:58 +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 @@ public override void OnGrab(string message)
catch (Exception ex)
{
_logger.WarnException(ex.Message, ex);
throw;
}
}
@ -64,7 +63,6 @@ public override void OnDownload(string message, Series series)
catch (Exception ex)
{
_logger.WarnException(ex.Message, ex);
throw;
}
}

View file

@ -10,8 +10,6 @@ public class Prowl : ExternalNotificationBase
{
private readonly ProwlProvider _prowlProvider;
private readonly Logger Logger = LogManager.GetCurrentClassLogger();
public Prowl(ConfigProvider configProvider, ProwlProvider prowlProvider)
: base(configProvider)
{
@ -41,8 +39,7 @@ public override void OnGrab(string message)
catch (Exception ex)
{
Logger.WarnException(ex.Message, ex);
throw;
_logger.WarnException(ex.Message, ex);
}
}
@ -64,8 +61,7 @@ public override void OnDownload(string message, Series series)
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()
{