1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-23 23:01:10 +00:00

chore: Chain exceptions when trying to get rss's item size

This commit is contained in:
Jayson Reis 2022-11-04 16:29:38 +01:00 committed by Qstick
parent 15e5ad5f84
commit bd19c89f6e

View file

@ -165,9 +165,9 @@ protected virtual ReleaseInfo ProcessItem(XElement item, ReleaseInfo releaseInfo
{
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;