Fixed: Retrying download on not suppressed HTTP errors

This commit is contained in:
Bogdan
2024-04-25 14:50:30 +03:00
parent ab3dc765b4
commit 77a982a7da

View File

@@ -38,6 +38,7 @@ namespace NzbDrone.Core.Indexers
{
{ Result.HasHttpServerError: true } => PredicateResult.True(),
{ Result.StatusCode: HttpStatusCode.RequestTimeout } => PredicateResult.True(),
{ Exception: HttpException { Response.HasHttpServerError: true } } => PredicateResult.True(),
_ => PredicateResult.False()
},
Delay = RateLimit,