Actually show exception on json.load(<NavRoute.json>) exception

This commit is contained in:
Athanasius committed 2021-04-01 14:45:50 +01:00
1 parent f280a7e863
commit 361cd168af
1 file changed
+1 -1
+1 -1
View File
@@ -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