mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-24 16:51:58 +00:00
Fixed Prowl ExternalNotifcation.
This commit is contained in:
parent
bbd5cba272
commit
1cf17cfc11
3 changed files with 3 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue