Skip to content
Snippets Groups Projects
Commit f8118b52 authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-388-disconnect-statisticsclient' into 'master'

L2SS-388: Prevent calling undefined logger.log_exception

Closes L2SS-388

See merge request !131
parents 45c5a89e 780e3482
No related branches found
No related tags found
1 merge request!131L2SS-388: Prevent calling undefined logger.log_exception
...@@ -73,14 +73,12 @@ class StatisticsClient(CommClient): ...@@ -73,14 +73,12 @@ class StatisticsClient(CommClient):
try: try:
self.statistics.disconnect() self.statistics.disconnect()
except Exception: except Exception:
# nothing we can do, but we should continue cleaning up logger.exception("Could not disconnect statistics processing class")
logger.log_exception("Could not disconnect statistics processing class")
try: try:
self.udp.disconnect() self.udp.disconnect()
except Exception: except Exception:
# nothing we can do, but we should continue cleaning up logger.exception("Could not disconnect UDP receiver class")
logger.log_exception("Could not disconnect UDP receiver class")
del self.udp del self.udp
del self.statistics del self.statistics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment