From fe4499ee9783cecf98d4f366c06d08a3a105d3d4 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 29 Oct 2017 00:37:15 -0400 Subject: [PATCH] Fixed: Use pending download if no download client is configured --- src/NzbDrone.Core/Download/DownloadService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Download/DownloadService.cs b/src/NzbDrone.Core/Download/DownloadService.cs index a4f30e918..bf73802cf 100644 --- a/src/NzbDrone.Core/Download/DownloadService.cs +++ b/src/NzbDrone.Core/Download/DownloadService.cs @@ -5,6 +5,7 @@ using NzbDrone.Common.Extensions; 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 @@ namespace NzbDrone.Core.Download 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.