mirror of https://github.com/Jackett/Jackett
SpeedCD: improve error handling
This commit is contained in:
parent
45b47268f9
commit
a499989649
|
@ -97,6 +97,8 @@ namespace Jackett.Common.Indexers
|
||||||
{
|
{
|
||||||
CQ dom = result.Content;
|
CQ dom = result.Content;
|
||||||
var errorMessage = dom.Text();
|
var errorMessage = dom.Text();
|
||||||
|
if (errorMessage.Contains("Wrong Captcha!"))
|
||||||
|
errorMessage = "Captcha requiered due to a failed login attempt. Login via a browser to whitelist your IP and then reconfigure jackett.";
|
||||||
throw new ExceptionWithConfigData(errorMessage, configData);
|
throw new ExceptionWithConfigData(errorMessage, configData);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue