Throw download as failed for invalid magnet links
This commit is contained in:
parent
f87a66fcba
commit
091449d9bf
|
@ -225,9 +225,7 @@ namespace NzbDrone.Core.Download
|
||||||
}
|
}
|
||||||
catch (FormatException ex)
|
catch (FormatException ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex, "Failed to parse magnetlink for episode '{0}': '{1}'", remoteEpisode.Release.Title, magnetUrl);
|
throw new ReleaseDownloadException(remoteEpisode.Release, "Failed to parse magnetlink for episode '{0}': '{1}'", ex, remoteEpisode.Release.Title, magnetUrl);
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hash != null)
|
if (hash != null)
|
||||||
|
|
Loading…
Reference in New Issue