Log web exceptions in test connection

This commit is contained in:
Bogdan 2024-01-08 21:30:27 +02:00
parent ce615a77c2
commit c3e40c0564

View file

@ -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)
{