From 5bb163d5217d861a9b1d420a2aabcec269dae19d Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Thu, 6 Feb 2020 05:01:46 +0100 Subject: [PATCH] core: show configuration dialog when GetConfigurationForSetup fails (#7104) --- src/Jackett.Common/Indexers/CardigannIndexer.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/CardigannIndexer.cs b/src/Jackett.Common/Indexers/CardigannIndexer.cs index 99f6c86d2..a19ab21c4 100644 --- a/src/Jackett.Common/Indexers/CardigannIndexer.cs +++ b/src/Jackett.Common/Indexers/CardigannIndexer.cs @@ -835,7 +835,15 @@ namespace Jackett.Common.Indexers public override async Task 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 GetConfigurationForSetup(bool automaticlogin)