mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
chore: Chain exceptions when trying to get rss's item size
This commit is contained in:
parent
15e5ad5f84
commit
bd19c89f6e
@ -165,9 +165,9 @@ protected virtual ReleaseInfo ProcessItem(XElement item, ReleaseInfo releaseInfo
|
|||||||
{
|
{
|
||||||
releaseInfo.Size = GetSize(item);
|
releaseInfo.Size = GetSize(item);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
throw new SizeParsingException("Unable to parse size from: {0}", releaseInfo.Title);
|
throw new SizeParsingException("Unable to parse size from: {0}", e, releaseInfo.Title);
|
||||||
}
|
}
|
||||||
|
|
||||||
return releaseInfo;
|
return releaseInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user