format & improve error logging

This commit is contained in:
Christian Zangl 2022-05-03 23:12:23 +02:00
parent d0c78ec3ee
commit f838a32cb5
No known key found for this signature in database
GPG Key ID: 6D468AC36E2A4B3D
2 changed files with 2 additions and 2 deletions

View File

@ -65,5 +65,5 @@ class IndexThread:
try:
self._process_root(parent)
except Exception as e:
self._log(Stat.INTERNALEXCEPTION, e)
self._log(Stat.INTERNALEXCEPTION, f"{parent}: {e}")
self.todo_queue.task_done()