From 5136e59c8fb4497eba87c867c2d943ebf3509f16 Mon Sep 17 00:00:00 2001 From: Bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Thu, 1 Jun 2023 08:51:07 -0500 Subject: [PATCH] fixup! New: Improve Indexer Error Handling and Messaging --- src/NzbDrone.Core/Indexers/HttpIndexerBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs index 94d64b085..7bb843e6d 100644 --- a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs +++ b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs @@ -375,6 +375,7 @@ namespace NzbDrone.Core.Indexers catch (RequestLimitReachedException ex) { _logger.Warn("Request limit reached: " + ex.Message); + return new ValidationFailure(string.Empty, "Request limit reached: " + ex.Message); } catch (CloudFlareCaptchaException ex) @@ -419,11 +420,13 @@ namespace NzbDrone.Core.Indexers { return new ValidationFailure(string.Empty, "Unable to connect to indexer, invalid credentials. " + ex.Message); } + return new ValidationFailure(string.Empty, "Unable to connect to indexer, check the log above the ValidationFailure for more details. " + ex.Message); } catch (HttpRequestException ex) { _logger.Warn(ex, "Unable to connect to indexer"); + return new ValidationFailure(string.Empty, "Unable to connect to indexer, please check your DNS settings and ensure IPv6 is working or disabled. " + ex.Message); } catch (TaskCanceledException ex)