chg: Improve logging for parser on exception

pull/17/head
Raphaël Vinot 2021-12-30 11:47:43 +01:00
parent 075b1843af
commit 1e37923fdf
1 changed files with 1 additions and 1 deletions

View File

@ -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: