mirror of
https://github.com/Radarr/Radarr.git
synced 2024-07-14 16:55:21 +02:00
Throw download as failed for invalid magnet links
(cherry picked from commit 091449d9bff9023ca27a85cc1048296f7d5ea37b) Closes #9625 Fixes #9125
This commit is contained in:
parent
3b36921787
commit
7edb892eb4
@ -223,9 +223,7 @@ private string DownloadFromMagnetUrl(RemoteMovie remoteMovie, IIndexer indexer,
|
|||||||
}
|
}
|
||||||
catch (FormatException ex)
|
catch (FormatException ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex, "Failed to parse magnetlink for movie '{0}': '{1}'", remoteMovie.Release.Title, magnetUrl);
|
throw new ReleaseDownloadException(remoteMovie.Release, "Failed to parse magnetlink for episode '{0}': '{1}'", ex, remoteMovie.Release.Title, magnetUrl);
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hash != null)
|
if (hash != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user