mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 01:02:05 +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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.WarnException(ex.Message, ex);
|
_logger.WarnException(ex.Message, ex);
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +63,6 @@ public override void OnDownload(string message, Series series)
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.WarnException(ex.Message, ex);
|
_logger.WarnException(ex.Message, ex);
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,6 @@ public class Prowl : ExternalNotificationBase
|
||||||
{
|
{
|
||||||
private readonly ProwlProvider _prowlProvider;
|
private readonly ProwlProvider _prowlProvider;
|
||||||
|
|
||||||
private readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
|
||||||
|
|
||||||
public Prowl(ConfigProvider configProvider, ProwlProvider prowlProvider)
|
public Prowl(ConfigProvider configProvider, ProwlProvider prowlProvider)
|
||||||
: base(configProvider)
|
: base(configProvider)
|
||||||
{
|
{
|
||||||
|
@ -41,8 +39,7 @@ public override void OnGrab(string message)
|
||||||
|
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Logger.WarnException(ex.Message, ex);
|
_logger.WarnException(ex.Message, ex);
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,8 +61,7 @@ public override void OnDownload(string message, Series series)
|
||||||
|
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Logger.WarnException(ex.Message, ex);
|
_logger.WarnException(ex.Message, ex);
|
||||||
throw;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace NzbDrone.Core.Providers
|
||||||
{
|
{
|
||||||
public class ProwlProvider
|
public class ProwlProvider
|
||||||
{
|
{
|
||||||
private readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
private readonly Logger Logger = LogManager.GetLogger("ProwlProvider");
|
||||||
|
|
||||||
public ProwlProvider()
|
public ProwlProvider()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue