1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-17 21:26:13 -04:00

Replaced ValidationFailure with NzbDroneValidationFailure

This commit is contained in:
margaale
2017-08-16 00:13:32 -03:00
committed by Taloth Saldono
parent 174b00f188
commit 46ff40a97e

View File

@@ -399,7 +399,7 @@ namespace NzbDrone.Core.Download.Clients.DownloadStation
if (apiInfo.MinVersion > expectedVersion.Version || apiInfo.MaxVersion < expectedVersion.Version)
{
return new ValidationFailure(string.Empty, $"{apiInfo.Name} API version not supported, should be at least {expectedVersion.Version}. It supports from {apiInfo.MinVersion} to {apiInfo.MaxVersion}");
return new NzbDroneValidationFailure(string.Empty, $"{apiInfo.Name} API version not supported, should be at least {expectedVersion.Version}. It supports from {apiInfo.MinVersion} to {apiInfo.MaxVersion}");
}
}