Abort indexer Test if connection failed.

fixes #2055
Taloth Saldono 7 years ago
parent 792773323c
commit 90a42bcbad

@ -102,7 +102,7 @@ namespace NzbDrone.Core.Indexers.Newznab
protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}

@ -91,7 +91,7 @@ namespace NzbDrone.Core.Indexers.Torznab
protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}

Loading…
Cancel
Save