1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Added in error 542 as requested

This commit is contained in:
echel0n 2014-04-28 11:46:35 -07:00
parent 160b4bc4cc
commit 0ec4be65da
2 changed files with 2 additions and 1 deletions

View File

@ -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',

View File

@ -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