From bdd62c25720f32a24b3351af5c997d5d7cbbcbc8 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Sun, 2 Dec 2018 10:35:26 +0100 Subject: [PATCH] IPtorrents: improve no torrents found error --- src/Jackett.Common/Indexers/IPTorrents.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jackett.Common/Indexers/IPTorrents.cs b/src/Jackett.Common/Indexers/IPTorrents.cs index 8b35aa1a4..bb12c5115 100644 --- a/src/Jackett.Common/Indexers/IPTorrents.cs +++ b/src/Jackett.Common/Indexers/IPTorrents.cs @@ -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