From 943cb8f19698ca7d47f796323f6651fd333a5afe Mon Sep 17 00:00:00 2001 From: facundo Date: Sun, 18 Aug 2024 19:52:40 -0300 Subject: [PATCH] add logging --- feedi/scraping.py | 1 + 1 file changed, 1 insertion(+) diff --git a/feedi/scraping.py b/feedi/scraping.py index e475a13..1fba374 100644 --- a/feedi/scraping.py +++ b/feedi/scraping.py @@ -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: