diff --git a/src/Jackett.Common/Indexers/CardigannIndexer.cs b/src/Jackett.Common/Indexers/CardigannIndexer.cs index a7801aad0..900cf0268 100644 --- a/src/Jackett.Common/Indexers/CardigannIndexer.cs +++ b/src/Jackett.Common/Indexers/CardigannIndexer.cs @@ -363,6 +363,9 @@ namespace Jackett.Common.Indexers protected bool checkForError(WebClientStringResult loginResult, IList errorBlocks) { + if(loginResult.Status == HttpStatusCode.Unauthorized) // e.g. used by YGGtorrent + throw new ExceptionWithConfigData("401 Unauthorized, check your credentials", configData); + if (errorBlocks == null) return true; // no error