IPtorrents: improve no torrents found error

This commit is contained in:
kaso17 2018-12-02 10:35:26 +01:00
parent 74e8518060
commit bdd62c2572
1 changed files with 1 additions and 1 deletions

View File

@ -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