mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
IPtorrents: improve no torrents found error
This commit is contained in:
@@ -249,7 +249,7 @@ namespace Jackett.Common.Indexers
|
||||
|
||||
var results = response.Content;
|
||||
|
||||
if (query.IsTest && results.Contains("No Torrents Found!"))
|
||||
if (string.IsNullOrWhiteSpace(query.SearchTerm) && results.Contains("No Torrents Found!"))
|
||||
throw new Exception("Got No Torrents Found! Make sure your IPTorrents profile config contain proper default category settings.");
|
||||
|
||||
try
|
||||
|
Reference in New Issue
Block a user