mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04: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