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
1 changed files with 1 additions and 1 deletions

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}");
}
}