Fixed: NullReferenceException in NotificationService (#695)

This commit is contained in:
ta264 2019-03-23 00:43:09 +00:00 committed by Qstick
commit c229d73ddc

View file

@ -244,7 +244,7 @@ namespace NzbDrone.Core.Notifications
// TODO: Build out this message so that we can pass on what failed and what was successful // TODO: Build out this message so that we can pass on what failed and what was successful
var downloadMessage = new AlbumDownloadMessage var downloadMessage = new AlbumDownloadMessage
{ {
Message = GetAlbumIncompleteImportMessage(message.TrackedDownload.RemoteAlbum.Release.Title), Message = GetAlbumIncompleteImportMessage(message.TrackedDownload.DownloadItem.Title),
}; };
foreach (var notification in _notificationFactory.OnDownloadFailureEnabled()) foreach (var notification in _notificationFactory.OnDownloadFailureEnabled())