mirror of https://github.com/Jackett/Jackett
IPtorrents: improve no torrents found error
This commit is contained in:
parent
74e8518060
commit
bdd62c2572
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue