mirror of
https://github.com/Sonarr/Sonarr
synced 2025-03-04 02:28:21 +00:00
Fixed: Don't return warning in title field for rejected downloads
Closes #7663
This commit is contained in:
parent
350dea10dd
commit
1fa532dd3e
1 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NzbDrone.Core.Download.TrackedDownloads;
|
||||
using NzbDrone.Core.Indexers;
|
||||
|
@ -32,7 +31,7 @@ public class RejectedImportService : IRejectedImportService
|
|||
|
||||
if (indexerSettings == null)
|
||||
{
|
||||
trackedDownload.Warn(new TrackedDownloadStatusMessage(importResult.Errors.First(), new List<string>()));
|
||||
trackedDownload.Warn(new TrackedDownloadStatusMessage(trackedDownload.DownloadItem.Title, importResult.Errors));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -48,7 +47,7 @@ public class RejectedImportService : IRejectedImportService
|
|||
}
|
||||
else
|
||||
{
|
||||
trackedDownload.Warn(new TrackedDownloadStatusMessage(importResult.Errors.First(), new List<string>()));
|
||||
trackedDownload.Warn(new TrackedDownloadStatusMessage(trackedDownload.DownloadItem.Title, importResult.Errors));
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue