From 8e7acd894630eae5062c0f1b8276c647ee9216e1 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 2 Jan 2022 21:37:02 -0600 Subject: [PATCH] Fixed: (Mylar) Test indexer pull on setup to validate Mylar functionality --- src/NzbDrone.Core/Applications/Mylar/MylarV3Proxy.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/NzbDrone.Core/Applications/Mylar/MylarV3Proxy.cs b/src/NzbDrone.Core/Applications/Mylar/MylarV3Proxy.cs index ba271b53e..c571d189b 100644 --- a/src/NzbDrone.Core/Applications/Mylar/MylarV3Proxy.cs +++ b/src/NzbDrone.Core/Applications/Mylar/MylarV3Proxy.cs @@ -133,12 +133,19 @@ namespace NzbDrone.Core.Applications.Mylar { return new ValidationFailure("ApiKey", status.Error.Message); } + + var indexers = GetIndexers(settings); } catch (HttpException ex) { _logger.Error(ex, "Unable to send test message"); return new ValidationFailure("BaseUrl", "Unable to complete application test"); } + catch (MylarException ex) + { + _logger.Error(ex, "Connection test failed"); + return new ValidationFailure("", ex.Message); + } catch (Exception ex) { _logger.Error(ex, "Unable to send test message");