mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Log web exceptions in test connection
This commit is contained in:
@@ -733,7 +733,7 @@ namespace NzbDrone.Core.Indexers
|
|||||||
}
|
}
|
||||||
catch (WebException webException)
|
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)
|
if (webException.Status is WebExceptionStatus.NameResolutionFailure or WebExceptionStatus.ConnectFailure)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user