mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 14:51:01 +00:00
IPTorrents: fix error handling
This commit is contained in:
parent
3339375a26
commit
1c1664e8cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue