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
1 changed files with 2 additions and 2 deletions

View File

@ -165,9 +165,9 @@ namespace NzbDrone.Core.Indexers
{
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;