mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-04 01:42:26 +03:00
Actually show exception on json.load(<NavRoute.json>) exception
This commit is contained in:
1 parent
f280a7e863
commit
361cd168af
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user