1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

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

This commit is contained in:
Athanasius 2021-03-10 13:39:08 +00:00
parent f280a7e863
commit 361cd168af

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