Skip to content

Commit

Permalink
YIFY: Make sure we log the error in case we can't connect.
Browse files Browse the repository at this point in the history
  • Loading branch information
steeve committed Jan 15, 2014
1 parent 9298dc3 commit b3b2677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/site-packages/xbmctorrent/scrapers/yify.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b3b2677

Please sign in to comment.