fixup! Fixed: Better Indexer Response Handling

pull/825/head
bakerboy448 3 years ago
parent 7faa939af3
commit 27ea2f2f24

@ -62,7 +62,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
case HttpStatusCode.Unauthorized: case HttpStatusCode.Unauthorized:
throw new IndexerAuthException(indexerResponse.HttpResponse.Content.ToString()); throw new IndexerAuthException(indexerResponse.HttpResponse.Content.ToString());
default: default:
throw new IndexerException(indexerResponse, $"Unexpected response status {indexerResponse.HttpResponse.StatusCode} code from API request"); throw new IndexerException(indexerResponse, $"Unexpected response status {indexerResponseStatus} code from API request");
} }
} }

Loading…
Cancel
Save