chg: Improve logging for parser on exception
parent
075b1843af
commit
1e37923fdf
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue