Fixed: Cardigann redirect message

This commit is contained in:
Qstick
2021-06-23 07:35:46 -04:00
parent 8bf9d1b016
commit ae00c3aa6b

View File

@@ -40,7 +40,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
.ContainsIgnoreCase("login.php")) .ContainsIgnoreCase("login.php"))
{ {
CookiesUpdater(null, null); CookiesUpdater(null, null);
throw new IndexerException(indexerResponse, "We are being redirected to the PTP login page. Most likely your session expired or was killed. Try testing the indexer in the settings."); throw new IndexerException(indexerResponse, "We are being redirected to the login page. Most likely your session expired or was killed. Try testing the indexer in the settings.");
} }
throw new IndexerException(indexerResponse, $"Unexpected response status {indexerResponse.HttpResponse.StatusCode} code from API request"); throw new IndexerException(indexerResponse, $"Unexpected response status {indexerResponse.HttpResponse.StatusCode} code from API request");