Catch websocket exception in output (#7525)

This commit is contained in:
Nicolas Mowen authored and GitHub committed 2023-08-19 13:38:47 -05:00
1 parent 28ea2afa51
commit 767abed7f0
1 file changed
+2
+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