From 0ec4be65da165ca199b4ab8855e0b1e59cc0f211 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 28 Apr 2014 11:46:35 -0700 Subject: [PATCH] Added in error 542 as requested --- sickbeard/clients/__init__.py | 1 + sickbeard/providers/generic.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/clients/__init__.py b/sickbeard/clients/__init__.py index 4e2697cb..ec74b515 100644 --- a/sickbeard/clients/__init__.py +++ b/sickbeard/clients/__init__.py @@ -60,6 +60,7 @@ http_error_code = { 503: 'Service Unavailable', 504: 'Gateway Timeout', 505: 'HTTP Version Not Supported', + 542: 'Request to host timedout waiting for reply back' } default_host = {'utorrent': 'http://localhost:8000', diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index d6a88e4b..bc8cfdcf 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -140,7 +140,7 @@ class GenericProvider: logger.log(u"Newznab ERROR:[%s] CODE:[%s]" % (f.feed['error']['description'], f.feed['error']['code']), logger.DEBUG) return None elif not f.entries: - logger.log(u"Error loading RSS feed items for " + self.name + " using URL: " + url, logger.ERROR) + logger.log(u"No items found on " + self.name + " using URL: " + url, logger.WARNING) return None return f