Log web exceptions in test connection

pull/1979/head
Bogdan 12 months ago
parent ce615a77c2
commit c3e40c0564

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

Loading…
Cancel
Save