From b3b2677338868f005674ea061cc4df1bae5eb4fd Mon Sep 17 00:00:00 2001 From: Steeve Morin Date: Wed, 15 Jan 2014 01:15:47 +0100 Subject: [PATCH] YIFY: Make sure we log the error in case we can't connect. --- resources/site-packages/xbmctorrent/scrapers/yify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/site-packages/xbmctorrent/scrapers/yify.py b/resources/site-packages/xbmctorrent/scrapers/yify.py index 671b675..f1d9696 100644 --- a/resources/site-packages/xbmctorrent/scrapers/yify.py +++ b/resources/site-packages/xbmctorrent/scrapers/yify.py @@ -92,7 +92,7 @@ def yify_show_data(callback): search_result = url_get_json("%s/api/list.json" % BASE_URL, params=args, headers=HEADERS) except: plugin.notify("Unable to connect to %s." % BASE_URL) - return + raise movies = search_result.get("MovieList") or [] if not movies: