1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-04 22:41:49 +00:00

gaselletracker: don't dump HTML into error message, use log. #15784

This commit is contained in:
Garfield69 2024-12-30 09:49:38 +13:00
parent db93459198
commit 668091af05

View file

@ -161,7 +161,8 @@ namespace Jackett.Common.Indexers.Definitions.Abstract
var loginform = loginResultDocument.QuerySelector("#loginform");
if (loginform == null)
{
throw new ExceptionWithConfigData(response.ContentString, configData);
logger.Error(response.ContentString);
throw new ExceptionWithConfigData("Unexpected response during login, see log for HTML response.", configData);
}
loginform.QuerySelector("table").Remove();