Skip to content
Snippets Groups Projects
Commit 378bf45e authored by Taya Snijder's avatar Taya Snijder
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent cee3349d
No related branches found
No related tags found
1 merge request!164Resolve L2SS-334 "2021 10 21 replace streams with logger"
...@@ -92,7 +92,7 @@ class CommClient(AbstractCommClient, Thread): ...@@ -92,7 +92,7 @@ class CommClient(AbstractCommClient, Thread):
self.ping() self.ping()
time.sleep(self.try_interval) time.sleep(self.try_interval)
except Exception as e: 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. # technically, we may not have dropped the connection, but encounter a different error. so explicitly disconnect.
self.disconnect() self.disconnect()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment