mirror of https://github.com/lidarr/Lidarr
Use last history item in FailedDownloadService
This commit is contained in:
parent
e405fc7cf9
commit
a728f44a1e
|
@ -116,7 +116,7 @@ namespace NzbDrone.Core.Download
|
||||||
|
|
||||||
private void PublishDownloadFailedEvent(List<EntityHistory> historyItems, string message, TrackedDownload trackedDownload = null, bool skipRedownload = false)
|
private void PublishDownloadFailedEvent(List<EntityHistory> historyItems, string message, TrackedDownload trackedDownload = null, bool skipRedownload = false)
|
||||||
{
|
{
|
||||||
var historyItem = historyItems.First();
|
var historyItem = historyItems.Last();
|
||||||
|
|
||||||
var downloadFailedEvent = new DownloadFailedEvent
|
var downloadFailedEvent = new DownloadFailedEvent
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue