From 1c1664e8cb43d8e5bdad16f86583fc09f13597ac Mon Sep 17 00:00:00 2001 From: kaso17 Date: Sat, 15 Dec 2018 10:23:41 +0100 Subject: [PATCH] IPTorrents: fix error handling --- 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 bb12c5115..11badebca 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 (string.IsNullOrWhiteSpace(query.SearchTerm) && results.Contains("No Torrents Found!")) + if (string.IsNullOrWhiteSpace(query.ImdbID) && 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