diff --git a/src/NzbDrone.Core/Download/CompletedDownloadService.cs b/src/NzbDrone.Core/Download/CompletedDownloadService.cs index 7fb40d994..9ac8e13e9 100644 --- a/src/NzbDrone.Core/Download/CompletedDownloadService.cs +++ b/src/NzbDrone.Core/Download/CompletedDownloadService.cs @@ -149,14 +149,11 @@ namespace NzbDrone.Core.Download var statusMessages = new List { - new TrackedDownloadStatusMessage("One or more albums expected in this release were not imported or missing", new List()) + new TrackedDownloadStatusMessage("One or more tracks expected in this release were not imported or missing from the release", new List()) }; if (importResults.Any(c => c.Result != ImportResultType.Imported)) { - // Mark as failed to prevent further attempts at processing - trackedDownload.State = TrackedDownloadState.ImportFailed; - statusMessages.AddRange( importResults .Where(v => v.Result != ImportResultType.Imported && v.ImportDecision.Item != null) @@ -165,14 +162,16 @@ namespace NzbDrone.Core.Download new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.Item.Path), v.Errors))); - if (statusMessages.Any()) - { - trackedDownload.Warn(statusMessages.ToArray()); - } - - // Publish event to notify Album was imported incompelte + // Publish event to notify album was imported incomplete _eventAggregator.PublishEvent(new AlbumImportIncompleteEvent(trackedDownload)); - return; + } + + if (statusMessages.Any()) + { + trackedDownload.Warn(statusMessages.ToArray()); + + // Mark as failed to prevent further attempts at processing + trackedDownload.State = TrackedDownloadState.ImportFailed; } }