Catch websocket exception in output (#7525)

This commit is contained in:
Nicolas Mowen
2023-08-19 13:38:47 -05:00
committed by GitHub
parent 28ea2afa51
commit 767abed7f0
+2
View File
@@ -210,6 +210,8 @@ class BroadcastThread(threading.Thread):
ws.send(buf, binary=True)
except ValueError:
pass
except ConnectionResetError as e:
logger.debug(f"Websocket unexpectedly closed {e}")
elif self.converter.process.poll() is not None:
break