mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-03-11 16:06:04 +00:00
Fixed: Abort Newznab indexer Test if connection failed.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user