|
|
|
@ -155,7 +155,8 @@ namespace NzbDrone.Core.Download.Clients.Hadouken
|
|
|
|
|
|
|
|
|
|
if (version < new Version("5.1"))
|
|
|
|
|
{
|
|
|
|
|
return new ValidationFailure(string.Empty, "Old Hadouken client with unsupported API, need 5.1 or higher");
|
|
|
|
|
return new ValidationFailure(string.Empty,
|
|
|
|
|
"Old Hadouken client with unsupported API, need 5.1 or higher");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (DownloadClientAuthenticationException ex)
|
|
|
|
@ -164,6 +165,13 @@ namespace NzbDrone.Core.Download.Clients.Hadouken
|
|
|
|
|
|
|
|
|
|
return new NzbDroneValidationFailure("Password", "Authentication failed");
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|
return new NzbDroneValidationFailure("Host", "Unable to connect to Hadouken")
|
|
|
|
|
{
|
|
|
|
|
DetailedDescription = ex.Message
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|