Throw download as failed for invalid magnet links

Closes #4463
pull/4470/head
Bogdan 4 months ago
parent 5facdeb2ff
commit b8c31ea895

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

Loading…
Cancel
Save