diff --git a/components/download_images/src/main.py b/components/download_images/src/main.py index ff8805b3d..564a4da49 100644 --- a/components/download_images/src/main.py +++ b/components/download_images/src/main.py @@ -70,7 +70,7 @@ async def download_image(self, url: str) -> t.Optional[bytes]: headers={"User-Agent": user_agent_string}) image_stream = response.content except Exception as e: - logger.warning(f"Skipping {url}: {e}") + logger.warning(f"Skipping {url}: {repr(e)}") image_stream = None return image_stream