logger.exception() doesn't need exc_info

This commit is contained in:
Athanasius committed 2021-03-15 15:58:18 +00:00
1 parent fa49159de5
commit f1c50faafa
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ class JournalLock:
self.journal_dir_path = pathlib.Path(self.journal_dir)
except Exception:
logger.exception("Couldn't make pathlib.Path from journal_dir", exc_info=True)
logger.exception("Couldn't make pathlib.Path from journal_dir")
def obtain_lock(self) -> JournalLockResult:
"""