mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
Added in error 542 as requested
This commit is contained in:
parent
160b4bc4cc
commit
0ec4be65da
2 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,7 @@ http_error_code = {
|
||||||
503: 'Service Unavailable',
|
503: 'Service Unavailable',
|
||||||
504: 'Gateway Timeout',
|
504: 'Gateway Timeout',
|
||||||
505: 'HTTP Version Not Supported',
|
505: 'HTTP Version Not Supported',
|
||||||
|
542: 'Request to host timedout waiting for reply back'
|
||||||
}
|
}
|
||||||
|
|
||||||
default_host = {'utorrent': 'http://localhost:8000',
|
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)
|
logger.log(u"Newznab ERROR:[%s] CODE:[%s]" % (f.feed['error']['description'], f.feed['error']['code']), logger.DEBUG)
|
||||||
return None
|
return None
|
||||||
elif not f.entries:
|
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 None
|
||||||
|
|
||||||
return f
|
return f
|
||||||
|
|
Loading…
Reference in a new issue