1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Abort indexer Test if connection failed.

fixes #2055
This commit is contained in:
Taloth Saldono 2017-07-27 11:25:55 +02:00
parent 792773323c
commit 90a42bcbad
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ private NewznabSettings GetSettings(string url, string apiPath = null, int[] cat
protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}

View File

@ -91,7 +91,7 @@ private TorznabSettings GetSettings(string url, string apiPath = null, int[] cat
protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}