mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Handling requests issue with too many redirects.
This commit is contained in:
parent
469e591bde
commit
94ce13183b
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ class IconImporter(object):
|
|||
url = self._url_from_html(content)
|
||||
except (AttributeError, SocketError, requests.ConnectionError,
|
||||
requests.models.MissingSchema, requests.sessions.InvalidSchema,
|
||||
requests.sessions.TooManyRedirects,
|
||||
LocationParseError, OpenSSLError, PyAsn1Error), e:
|
||||
logging.debug(" ---> ~SN~FRFailed~FY to fetch ~FGfeed icon~FY: %s" % e)
|
||||
if url:
|
||||
|
|
Loading…
Add table
Reference in a new issue