From 732cfa119222bcda89322839f24eec9c53064094 Mon Sep 17 00:00:00 2001 From: Athanasius <github@miggy.org> Date: Mon, 22 Mar 2021 15:06:24 +0000 Subject: [PATCH] journal_lock: No need for exc_info=True on logger.exception() --- journal_lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journal_lock.py b/journal_lock.py index bfb6ee85..f3ed4165 100644 --- a/journal_lock.py +++ b/journal_lock.py @@ -51,7 +51,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: """