1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

logger.exception() doesn't need exc_info

This commit is contained in:
Athanasius 2021-03-15 15:58:18 +00:00
parent fa49159de5
commit f1c50faafa

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