Catch websocket exception in output (#7525)

This commit is contained in:
Nicolas Mowen 2023-08-19 12:38:47 -06:00 committed by GitHub
parent 28ea2afa51
commit 767abed7f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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