From f334cc89d68f1fd0d9239186ac741c1fa3aac045 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 4 Jun 2023 06:11:35 +0300 Subject: [PATCH] indexers: improve test indexer message on failure (#14421) --- src/Jackett.Common/Services/IndexerManagerService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Services/IndexerManagerService.cs b/src/Jackett.Common/Services/IndexerManagerService.cs index c9cc7b6c7..4447977e4 100644 --- a/src/Jackett.Common/Services/IndexerManagerService.cs +++ b/src/Jackett.Common/Services/IndexerManagerService.cs @@ -319,7 +319,9 @@ namespace Jackett.Common.Services _logger.Info($"Test search in {indexer.Name} => Found {result.Releases.Count()} releases [{stopwatch.ElapsedMilliseconds:0}ms]"); if (!result.Releases.Any()) - throw new Exception($"Test search in {indexer.Name} => Found no results while trying to browse this tracker"); + { + throw new Exception($"Test search in {indexer.Name} => Found no results while trying to browse this tracker. This may be an issue with the indexer, or other indexer settings such as search freeleech only etc."); + } } public void DeleteIndexer(string name)