1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: Error when processing release with files Sonarr is unable to parse

This commit is contained in:
Mark McDowall 2020-06-06 10:19:54 -07:00
parent 57cca9fcdc
commit 0ff08dbe8d

View File

@ -127,7 +127,7 @@ public void Import(TrackedDownload trackedDownload)
if (importResults.Any(c => c.Result != ImportResultType.Imported))
{
var statusMessages = importResults
.Where(v => v.Result != ImportResultType.Imported)
.Where(v => v.Result != ImportResultType.Imported && v.ImportDecision.LocalEpisode != null)
.Select(v => new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.LocalEpisode.Path), v.Errors))
.ToArray();