1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 00:09:37 +02: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); 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;