From 8d2a1e2d497222ba345c2caffa999d3e901aeda3 Mon Sep 17 00:00:00 2001 From: Henrik Holm Date: Fri, 18 Apr 2025 21:36:42 +0200 Subject: [PATCH] Log error if no article blurbs were found under section page --- recipes/fokus.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/fokus.recipe b/recipes/fokus.recipe index 282dab100b..12137e0500 100644 --- a/recipes/fokus.recipe +++ b/recipes/fokus.recipe @@ -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: