1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 04:38:20 +00:00

core: show configuration dialog when GetConfigurationForSetup fails (#7104)

This commit is contained in:
Diego Heras 2020-02-06 05:01:46 +01:00 committed by GitHub
parent 056f683de3
commit 5bb163d521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -835,7 +835,15 @@ namespace Jackett.Common.Indexers
public override async Task<ConfigurationData> GetConfigurationForSetup()
{
return await GetConfigurationForSetup(false);
try
{
return await GetConfigurationForSetup(false);
}
catch (Exception e)
{
logger.Error("Exception in GetConfigurationForSetup (" + ID + "): " + e);
return configData;
}
}
public async Task<ConfigurationData> GetConfigurationForSetup(bool automaticlogin)