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:
parent
160b4bc4cc
commit
0ec4be65da
@ -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',
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user