mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Ignore requests errors and just try urllib fallback.
This commit is contained in:
parent
669b1d1e3d
commit
e82387f47c
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class PageImporter(object):
|
|||
except (requests.exceptions.RequestException,
|
||||
requests.packages.urllib3.exceptions.HTTPError), e:
|
||||
logging.debug(' ***> [%-30s] Page fetch failed using requests: %s' % (self.feed, e))
|
||||
mail_feed_error_to_admin(self.feed, e, local_vars=locals())
|
||||
# mail_feed_error_to_admin(self.feed, e, local_vars=locals())
|
||||
return self.fetch_page(urllib_fallback=True, requests_exception=e)
|
||||
except Exception, e:
|
||||
logging.debug('[%d] ! -------------------------' % (self.feed.id,))
|
||||
|
|
Loading…
Add table
Reference in a new issue