Fixed: (AvistaZ) Don't log http errors like 404 for imdb/tmdb/tvdb searches

This commit is contained in:
Bogdan
2023-03-14 21:19:14 +02:00
parent 7820a83a5d
commit bf7f769f13
2 changed files with 9 additions and 1 deletions

View File

@@ -510,7 +510,10 @@ namespace NzbDrone.Core.Indexers
// Throw common http errors here before we try to parse
if (response.HasHttpError)
{
_logger.Warn("HTTP Error - {0}", response);
if (response.Request.LogHttpError)
{
_logger.Warn("HTTP Error - {0}", response);
}
if (response.StatusCode == HttpStatusCode.TooManyRequests)
{