mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Checking for memory errors while feed fetching.
This commit is contained in:
parent
4dc17b751b
commit
046f97558b
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class FetchFeed:
|
|||
logging.debug(u' ***> [%-30s] ~FRTurning off headers...' %
|
||||
(self.feed.title[:30]))
|
||||
self.fpf = feedparser.parse(address, agent=USER_AGENT)
|
||||
except (TypeError, ValueError, KeyError, EOFError), e:
|
||||
except (TypeError, ValueError, KeyError, EOFError, MemoryError), e:
|
||||
logging.debug(u' ***> [%-30s] ~FRFetch failed: %s.' %
|
||||
(self.feed.title[:30], e))
|
||||
return FEED_ERRHTTP, None
|
||||
|
|
Loading…
Add table
Reference in a new issue