Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Aug 18, 2024
1 parent 79169e6 commit 943cb8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions feedi/scraping.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def package_epub(url, article):
if not response.ok:
continue
except RequestException:
logger.exception("error fetching image during epub generation: %s", img_url)
continue

with zip.open(img_filename, "w") as dest_file:
Expand Down

0 comments on commit 943cb8f

Please sign in to comment.