mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed TorrentBlackhole failing fatally on magnet link instead of falling back to torrent url.
This commit is contained in:
parent
36ac4f0a8d
commit
a3873634b0
2 changed files with 9 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue