Fixed: (HttpIndexerBase) Add IndexerAuthException to logs

This commit is contained in:
Bogdan
2023-02-01 07:26:55 +02:00
parent 234707b291
commit 626d777d3c

View File

@@ -240,10 +240,10 @@ namespace NzbDrone.Core.Indexers
_indexerStatusService.RecordFailure(Definition.Id, TimeSpan.FromHours(1));
_logger.Warn("API Request Limit reached for {0}", this);
}
catch (IndexerAuthException)
catch (IndexerAuthException ex)
{
_indexerStatusService.RecordFailure(Definition.Id);
_logger.Warn("Invalid Credentials for {0} {1}", this, url);
_logger.Warn(ex, "Invalid Credentials for {0} {1}", this, url);
}
catch (CloudFlareProtectionException ex)
{