From 7ec0f20fa7e1cd5c7227c98dd5d1d1fe0bbb3a92 Mon Sep 17 00:00:00 2001 From: Thibauld Nion Date: Sat, 24 Aug 2024 21:33:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=20Reduce=20verbosity:=20no=20need?= =?UTF-8?q?=20to=20warn=20when=20an=20entry=20has=20no=20link=20found?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AFAIK: the code is doing enough "effort" to find or generate a link, that if a link is missing at that stage it's really because of the source data. --- wom_river/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wom_river/tasks.py b/wom_river/tasks.py index 37b781f..3ccf4cd 100644 --- a/wom_river/tasks.py +++ b/wom_river/tasks.py @@ -167,7 +167,7 @@ def add_new_references_from_parsed_feed(feed, entries, default_date): for e in entries: entry_link = get_and_patch_link(e) if not entry_link: - logger.warning("Skipping a feed entry without 'link' : %s." % e) + logger.debug("Skipping a feed entry without 'link' : %s." % e) continue entries_with_link.append((e, entry_link)) entries_url = [link for e, link in entries_with_link]