From 361cd168afc8fe0f71624a67b311103705cdcb1c Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 10 Mar 2021 13:39:08 +0000 Subject: [PATCH] Actually show exception on json.load() exception --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index eaf2cfa9..c6982103 100644 --- a/monitor.py +++ b/monitor.py @@ -675,7 +675,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below entry = json.load(rf) except json.JSONDecodeError: - logger.exception('Failed decoding NavRoute.json') + logger.exception('Failed decoding NavRoute.json', exc_info=True) else: self.state['NavRoute'] = entry