diff --git a/devices/clients/comms_client.py b/devices/clients/comms_client.py index 29ae89d6feec9221bc015948106c396925afb5a6..b3b07a40dc9ee88dc0587aaae0a4962ef056bb9a 100644 --- a/devices/clients/comms_client.py +++ b/devices/clients/comms_client.py @@ -92,7 +92,7 @@ class CommClient(AbstractCommClient, Thread): self.ping() time.sleep(self.try_interval) except Exception as e: - logger.error("Fault condition in communication detected.", e) + logger.exception("Fault condition in communication detected.") # technically, we may not have dropped the connection, but encounter a different error. so explicitly disconnect. self.disconnect()