Fixed: Indexer failures not logged to history

This commit is contained in:
Qstick
2021-05-16 23:21:29 -04:00
parent 4cc52c415c
commit 5cb13e69d7
10 changed files with 38 additions and 25 deletions
@@ -42,7 +42,7 @@ namespace NzbDrone.Core.Indexers.Torznab
if (errorMessage == "Request limit reached")
{
throw new RequestLimitReachedException("API limit reached");
throw new RequestLimitReachedException(indexerResponse, "API limit reached");
}
throw new TorznabException("Torznab error detected: {0}", errorMessage);