mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-27 00:02:25 +00:00
Fixed: Use pending download if no download client is configured
This commit is contained in:
parent
1db04eaa1a
commit
fe4499ee97
1 changed files with 2 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
using NzbDrone.Common.Http;
|
||||
using NzbDrone.Common.Instrumentation.Extensions;
|
||||
using NzbDrone.Common.TPL;
|
||||
using NzbDrone.Core.Download.Clients;
|
||||
using NzbDrone.Core.Exceptions;
|
||||
using NzbDrone.Core.Indexers;
|
||||
using NzbDrone.Core.Messaging.Events;
|
||||
|
@ -51,8 +52,7 @@ public void DownloadReport(RemoteAlbum remoteAlbum)
|
|||
|
||||
if (downloadClient == null)
|
||||
{
|
||||
_logger.Warn("{0} Download client isn't configured yet.", remoteAlbum.Release.DownloadProtocol);
|
||||
return;
|
||||
throw new DownloadClientUnavailableException($"{remoteAlbum.Release.DownloadProtocol} Download client isn't configured yet");
|
||||
}
|
||||
|
||||
// Limit grabs to 2 per second.
|
||||
|
|
Loading…
Reference in a new issue