Skip to content

Commit

Permalink
🧑 Reduce verbosity: no need to warn when an entry has no link found
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tibonihoo committed Aug 24, 2024
1 parent 323a76e commit 7ec0f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wom_river/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7ec0f20

Please sign in to comment.