Throw download as failed for invalid magnet links

pull/6368/head
Bogdan 8 months ago committed by Mark McDowall
parent f87a66fcba
commit 091449d9bf

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

Loading…
Cancel
Save