diff --git a/src/NzbDrone.Core/Download/CompletedDownloadService.cs b/src/NzbDrone.Core/Download/CompletedDownloadService.cs index 54ce28651..64b594c7b 100644 --- a/src/NzbDrone.Core/Download/CompletedDownloadService.cs +++ b/src/NzbDrone.Core/Download/CompletedDownloadService.cs @@ -50,7 +50,8 @@ namespace NzbDrone.Core.Download public void Process(TrackedDownload trackedDownload, bool ignoreWarnings = false) { - if (trackedDownload.DownloadItem.Status != DownloadItemStatus.Completed) + if (trackedDownload.DownloadItem.Status != DownloadItemStatus.Completed || + trackedDownload.RemoteAlbum == null) { return; } @@ -80,7 +81,7 @@ namespace NzbDrone.Core.Download return; } - var artist = trackedDownload.RemoteAlbum?.Artist; + var artist = trackedDownload.RemoteAlbum.Artist; if (artist == null) { diff --git a/src/NzbDrone.Core/Download/TrackedDownloads/TrackedDownloadService.cs b/src/NzbDrone.Core/Download/TrackedDownloads/TrackedDownloadService.cs index 8a2a26244..8f0ca4e62 100644 --- a/src/NzbDrone.Core/Download/TrackedDownloads/TrackedDownloadService.cs +++ b/src/NzbDrone.Core/Download/TrackedDownloads/TrackedDownloadService.cs @@ -156,6 +156,7 @@ namespace NzbDrone.Core.Download.TrackedDownloads if (trackedDownload.RemoteAlbum == null) { _logger.Trace("No Album found for download '{0}'", trackedDownload.DownloadItem.Title); + trackedDownload.Warn("No Album found for download '{0}'", trackedDownload.DownloadItem.Title); } } catch (Exception e)