mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-27 19:03:11 +01:00
Fixed: (API) Prevent search failed exception when using non-interactive search
This commit is contained in:
parent
a5b5e7a3a5
commit
c9b1d0d958
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ private async Task<IList<ReleaseInfo>> Dispatch(Func<IIndexer, Task<IndexerPagea
|
|||
(criteriaBase.IndexerIds.Contains(-2) && i.Protocol == DownloadProtocol.Torrent))
|
||||
.ToList();
|
||||
|
||||
if (indexers.Count == 0)
|
||||
if (criteriaBase.InteractiveSearch && indexers.Count == 0)
|
||||
{
|
||||
_logger.Debug("Search failed due to all selected indexers being unavailable: {0}", string.Join(", ", criteriaBase.IndexerIds));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue