mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
DigitalHive: improve login error handling
This commit is contained in:
@@ -149,8 +149,8 @@ namespace Jackett.Indexers
|
|||||||
|
|
||||||
await ConfigureIfOK(result.Cookies, result.Content.Contains("logout.php"), () =>
|
await ConfigureIfOK(result.Cookies, result.Content.Contains("logout.php"), () =>
|
||||||
{
|
{
|
||||||
var errorMessage = result.Content;
|
CQ errorMessage = result.Content;
|
||||||
throw new ExceptionWithConfigData(errorMessage, configData);
|
throw new ExceptionWithConfigData(errorMessage.Text(), configData);
|
||||||
});
|
});
|
||||||
|
|
||||||
return IndexerConfigurationStatus.RequiresTesting;
|
return IndexerConfigurationStatus.RequiresTesting;
|
||||||
|
Reference in New Issue
Block a user