From 2c2703bbfa5dd971e50946ca311f32f7db0e704e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20P=C5=82ocki?= Date: Mon, 25 Mar 2024 18:53:49 +0100 Subject: [PATCH] Adjust code for generic errors --- podcast_downloader/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podcast_downloader/__main__.py b/podcast_downloader/__main__.py index 3a8f12d..7cb191b 100644 --- a/podcast_downloader/__main__.py +++ b/podcast_downloader/__main__.py @@ -229,7 +229,7 @@ def configuration_to_function_rss_to_name( feed = load_feed(rss_source_link) if feed.bozo: - logger.error(f"Error while checking the link: '{rss_source_link}': {feed['bozo_exception'].reason.strerror}") + logger.error(f"Error while checking the link: '{rss_source_link}': {feed['bozo_exception']}") continue if not rss_source_name: