Throw download as failed for invalid magnet links

pull/1986/head
Bogdan 11 months ago
parent 01f3930211
commit 4f28d583d7

@ -171,9 +171,7 @@ namespace NzbDrone.Core.Download
} }
catch (FormatException ex) catch (FormatException ex)
{ {
_logger.Error(ex, "Failed to parse magnetlink for release '{0}': '{1}'", release.Title, magnetUrl); throw new ReleaseDownloadException("Failed to parse magnetlink for release '{0}': '{1}'", ex, release.Title, magnetUrl);
return null;
} }
if (hash != null) if (hash != null)

Loading…
Cancel
Save