@ -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)
@ -69,9 +69,16 @@ namespace NzbDrone.Core.Download
String hash = null;
if (magnetUrl.IsNotNullOrWhiteSpace())
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())