mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: (Indexers) Hide errors with SuppressHttpErrorStatusCodes
This commit is contained in:
@@ -508,7 +508,7 @@ namespace NzbDrone.Core.Indexers
|
||||
}
|
||||
|
||||
// Throw common http errors here before we try to parse
|
||||
if (response.HasHttpError)
|
||||
if (response.HasHttpError && (request.HttpRequest.SuppressHttpErrorStatusCodes == null || !request.HttpRequest.SuppressHttpErrorStatusCodes.Contains(response.StatusCode)))
|
||||
{
|
||||
if (response.Request.LogHttpError)
|
||||
{
|
||||
|
Reference in New Issue
Block a user