aboutsummaryrefslogtreecommitdiff
path: root/src/crawler
diff options
context:
space:
mode:
Diffstat (limited to 'src/crawler')
-rw-r--r--src/crawler/classic_crawler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crawler/classic_crawler.py b/src/crawler/classic_crawler.py
index 50f98258..9f0bb0d9 100644
--- a/src/crawler/classic_crawler.py
+++ b/src/crawler/classic_crawler.py
@@ -83,7 +83,10 @@ async def parse_feed(user, feed):
finally:
up_feed['last_retrieved'] = datetime.now(dateutil.tz.tzlocal())
if parsed_feed is None:
- FeedController().update({'id': feed.id}, up_feed)
+ try:
+ FeedController().update({'id': feed.id}, up_feed)
+ except Exception as e:
+ print('something bad here: ' + str(e))
return
if not is_parsing_ok(parsed_feed):
bgstack15