From 07575ae239858c6d2d1baebc7b9f1892d552df79 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 2 Jan 2022 21:50:12 -0600 Subject: [PATCH] Fixed: (LazyLibrarian) Test indexer pull on setup to validate --- .../Applications/LazyLibrarian/LazyLibrarianV1Proxy.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/NzbDrone.Core/Applications/LazyLibrarian/LazyLibrarianV1Proxy.cs b/src/NzbDrone.Core/Applications/LazyLibrarian/LazyLibrarianV1Proxy.cs index df397d678..abb1c0338 100644 --- a/src/NzbDrone.Core/Applications/LazyLibrarian/LazyLibrarianV1Proxy.cs +++ b/src/NzbDrone.Core/Applications/LazyLibrarian/LazyLibrarianV1Proxy.cs @@ -133,12 +133,19 @@ namespace NzbDrone.Core.Applications.LazyLibrarian { 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 (LazyLibrarianException ex) + { + _logger.Error(ex, "Connection test failed"); + return new ValidationFailure("", ex.Message); + } catch (Exception ex) { _logger.Error(ex, "Unable to send test message");