fixup! Fixed: Better Indexer Response Handling

pull/825/head
bakerboy448 3 years ago
parent 4e51170839
commit 05c468ea2d

@ -48,8 +48,7 @@ namespace NzbDrone.Core.Indexers
} }
catch (HttpException ex) catch (HttpException ex)
{ {
var indexerResponse = ex.Response; var indexerResponseStatus = ex.Response.StatusCode;
var indexerResponseStatus = indexerResponse.StatusCode;
if (indexerResponseStatus == HttpStatusCode.NotFound) if (indexerResponseStatus == HttpStatusCode.NotFound)
{ {
_logger.Error(ex, "Downloading torrent file for release failed since it no longer exists ({0})", link.AbsoluteUri); _logger.Error(ex, "Downloading torrent file for release failed since it no longer exists ({0})", link.AbsoluteUri);

Loading…
Cancel
Save