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

View File

@ -127,7 +127,7 @@ namespace NzbDrone.Core.Download
if (importResults.Any(c => c.Result != ImportResultType.Imported)) if (importResults.Any(c => c.Result != ImportResultType.Imported))
{ {
var statusMessages = importResults 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)) .Select(v => new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.LocalEpisode.Path), v.Errors))
.ToArray(); .ToArray();