1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 10:07:10 +00:00

Fixed: Abort Newznab indexer Test if connection failed.

This commit is contained in:
Qstick 2017-10-28 23:14:40 -04:00
parent 4968cb9973
commit 099f24afea
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
@ -92,6 +92,7 @@ protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
@ -80,6 +80,7 @@ protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}