mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Updated NLog to v4.2.3.
This commit is contained in:
@@ -130,15 +130,13 @@ namespace NzbDrone.Core.Download
|
||||
}
|
||||
catch (HttpException ex)
|
||||
{
|
||||
_logger.ErrorException(string.Format("Downloading torrent file for episode '{0}' failed ({1})",
|
||||
remoteEpisode.Release.Title, torrentUrl), ex);
|
||||
_logger.Error(ex, "Downloading torrent file for episode '{0}' failed ({1})", remoteEpisode.Release.Title, torrentUrl);
|
||||
|
||||
throw new ReleaseDownloadException(remoteEpisode.Release, "Downloading torrent failed", ex);
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
_logger.ErrorException(string.Format("Downloading torrent file for episode '{0}' failed ({1})",
|
||||
remoteEpisode.Release.Title, torrentUrl), ex);
|
||||
_logger.Error(ex, "Downloading torrent file for episode '{0}' failed ({1})", remoteEpisode.Release.Title, torrentUrl);
|
||||
|
||||
throw new ReleaseDownloadException(remoteEpisode.Release, "Downloading torrent failed", ex);
|
||||
}
|
||||
@@ -168,8 +166,7 @@ namespace NzbDrone.Core.Download
|
||||
}
|
||||
catch (FormatException ex)
|
||||
{
|
||||
_logger.ErrorException(string.Format("Failed to parse magnetlink for episode '{0}': '{1}'",
|
||||
remoteEpisode.Release.Title, magnetUrl), ex);
|
||||
_logger.Error(ex, "Failed to parse magnetlink for episode '{0}': '{1}'", remoteEpisode.Release.Title, magnetUrl);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user