Fixed: Improved Indexer HTTP Validation Failure Messaging

This commit is contained in:
Bakerboy448
2023-02-16 11:46:51 -06:00
committed by Bogdan
parent d767a82e84
commit 8e1771b5a9
4 changed files with 6 additions and 6 deletions

View File

@@ -504,7 +504,7 @@ namespace NzbDrone.Core.Indexers
_logger.Warn(ex, "Unable to connect to indexer");
return new ValidationFailure(string.Empty, "Unable to connect to indexer, check the log for more details");
return new ValidationFailure(string.Empty, "Unable to connect to indexer, check the log above the ValidationFailure for more details. " + ex.Message);
}
catch (HttpRequestException ex)
{
@@ -522,7 +522,7 @@ namespace NzbDrone.Core.Indexers
{
_logger.Warn(ex, "Unable to connect to indexer");
return new ValidationFailure(string.Empty, "Unable to connect to indexer, check the log for more details");
return new ValidationFailure(string.Empty, "Unable to connect to indexer, check the log above the ValidationFailure for more details");
}
return null;