more emc tests

This commit is contained in:
Timothy Pogue
2022-09-10 23:57:17 -06:00
parent 9a1a4dfb5b
commit ed4ba8801f
2 changed files with 181 additions and 1 deletions

View File

@@ -203,8 +203,13 @@ class ExternalMessageConsumer:
continue
except websockets.exceptions.ConnectionClosedOK:
# Successfully closed, just end
return
except Exception as e:
# An unforseen error has occurred, log and stop
logger.error("Unexpected error has occurred:")
logger.exception(e)
break