diff --git a/src/NzbDrone.Common/Http/HttpClient.cs b/src/NzbDrone.Common/Http/HttpClient.cs index 03f9d92d2..8b5c42edd 100644 --- a/src/NzbDrone.Common/Http/HttpClient.cs +++ b/src/NzbDrone.Common/Http/HttpClient.cs @@ -115,7 +115,7 @@ namespace NzbDrone.Common.Http response.StatusCode == HttpStatusCode.MovedPermanently || response.StatusCode == HttpStatusCode.Found)) { - throw new Exception("Server requested a redirect to [" + response.Headers["Location"] + "]. Update the request URL to avoid this redirect."); + _logger.Error("Server requested a redirect to [" + response.Headers["Location"] + "]. Update the request URL to avoid this redirect."); } if (!request.SuppressHttpError && response.HasHttpError) diff --git a/src/NzbDrone.Core/Download/TorrentClientBase.cs b/src/NzbDrone.Core/Download/TorrentClientBase.cs index 582f2e911..bdce27d91 100644 --- a/src/NzbDrone.Core/Download/TorrentClientBase.cs +++ b/src/NzbDrone.Core/Download/TorrentClientBase.cs @@ -70,7 +70,14 @@ namespace NzbDrone.Core.Download if (magnetUrl.IsNotNullOrWhiteSpace()) { - hash = DownloadFromMagnetUrl(remoteEpisode, magnetUrl); + try + { + hash = DownloadFromMagnetUrl(remoteEpisode, magnetUrl); + } + catch (NotSupportedException ex) + { + _logger.Debug("Magnet not supported by download client, trying torrent. ({0})", ex.Message); + } } if (hash == null && !torrentUrl.IsNullOrWhiteSpace())