From 3ab8b97562d8da81adf499cc181361e65c39f59b Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sat, 1 May 2021 10:19:10 +0100 Subject: [PATCH] Suits: We might not know about SuitLoadout being switched to --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index d7714d53..f7ebc937 100644 --- a/monitor.py +++ b/monitor.py @@ -947,7 +947,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below self.state['SuitLoadoutCurrent'] = self.state['SuitLoadouts'][f'{new_slot}'] except KeyError: - logger.exception(f"Getting suit loadout after switch, bad slot: {new_slot} ({loadoutid})") + logger.debug(f"Getting suit loadout after switch, bad slot: {new_slot} ({loadoutid})") # Might mean that a new suit loadout was created and we need a new CAPI fetch ? self.state['SuitCurrent'] = None self.state['SuitLoadoutCurrent'] = None