Fixed: Error when processing release with files Sonarr is unable to parse
This commit is contained in:
parent
57cca9fcdc
commit
0ff08dbe8d
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue