From c3e40c056474b842a9bc5147c55c4dd2b8dd58c8 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 8 Jan 2024 21:30:27 +0200 Subject: [PATCH] Log web exceptions in test connection --- src/NzbDrone.Core/Indexers/HttpIndexerBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs index 6a6b965b3..ed25df68c 100644 --- a/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs +++ b/src/NzbDrone.Core/Indexers/HttpIndexerBase.cs @@ -733,7 +733,7 @@ namespace NzbDrone.Core.Indexers } catch (WebException webException) { - _logger.Warn("Unable to connect to indexer."); + _logger.Warn(webException, "Unable to connect to indexer."); if (webException.Status is WebExceptionStatus.NameResolutionFailure or WebExceptionStatus.ConnectFailure) {