Log error if no article blurbs were found under section page

This commit is contained in:
Henrik Holm 2025-04-18 21:36:42 +02:00
parent ba6eb03278
commit 8d2a1e2d49
No known key found for this signature in database

View File

@ -172,7 +172,8 @@ class Fokus(BasicNewsRecipe):
article_blurbs = []
if not article_blurbs:
raise ValueError('Failed to identify any article blurbs.')
self.log.error('Failed to identify any article blurbs.')
return {}
parsed_blurbs = {}
for article_blurb in article_blurbs: