mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed: Displaying warnings for automatic failed imports in queue
This commit is contained in:
parent
84b91ba6c1
commit
9314eb34ab
1 changed files with 5 additions and 0 deletions
|
@ -169,6 +169,11 @@ namespace NzbDrone.Core.Download
|
||||||
// Mark as failed to prevent further attempts at processing
|
// Mark as failed to prevent further attempts at processing
|
||||||
trackedDownload.State = TrackedDownloadState.ImportFailed;
|
trackedDownload.State = TrackedDownloadState.ImportFailed;
|
||||||
|
|
||||||
|
if (statusMessages.Any())
|
||||||
|
{
|
||||||
|
trackedDownload.Warn(statusMessages.ToArray());
|
||||||
|
}
|
||||||
|
|
||||||
// Publish event to notify album was imported incomplete
|
// Publish event to notify album was imported incomplete
|
||||||
_eventAggregator.PublishEvent(new AlbumImportIncompleteEvent(trackedDownload));
|
_eventAggregator.PublishEvent(new AlbumImportIncompleteEvent(trackedDownload));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue