From 1e37923fdf3747793548dc2c26e18adb233c3621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 30 Dec 2021 11:47:43 +0100 Subject: [PATCH] chg: Improve logging for parser on exception --- bin/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/parser.py b/bin/parser.py index a2c3757..a6f7c7b 100755 --- a/bin/parser.py +++ b/bin/parser.py @@ -82,7 +82,7 @@ class RawFilesParser(): p.execute() self._archive(filepath) except Exception as e: - self.logger.warning(f"{self.source}: That didn't go well: {e}") + self.logger.exception(f"{self.source}: That didn't go well: {e}") self._unparsable(filepath) def _archive(self, filepath: Path) -> None: