mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-21 11:27:38 +03:00
Shiplocker: while/else a failure logging
This commit is contained in:
parent
dc953b49a6
commit
cc6b52a9ed
@ -896,6 +896,10 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
||||
sleep(shiplocker_fail_sleep)
|
||||
pass
|
||||
|
||||
else:
|
||||
logger.warning(f'Failed to load & decode shiplocker after {shiplocker_max_attempts} tries. '
|
||||
'Giving up.')
|
||||
|
||||
if not all(t in entry for t in ('Components', 'Consumables', 'Data', 'Items')):
|
||||
logger.warning('ShipLocker event is missing at least one category')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user