Fixed: Abort Newznab indexer Test if connection failed.

This commit is contained in:
Qstick 2017-10-28 23:14:40 -04:00
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 @@ namespace NzbDrone.Core.Indexers.Newznab
{
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 @@ namespace NzbDrone.Core.Indexers.Torznab
{
base.Test(failures);
if (failures.Any()) return;
failures.AddIfNotNull(TestCapabilities());
}