Catch birdseye websocket error

This commit is contained in:
Josh Hawkins 2025-04-02 08:23:20 -05:00
parent f0b15e1f04
commit a93fd51df7

View File

@ -259,7 +259,7 @@ class BroadcastThread(threading.Thread):
ws.send(buf, binary=True) ws.send(buf, binary=True)
except ValueError: except ValueError:
pass pass
except (BrokenPipeError, ConnectionResetError) as e: except (BrokenPipeError, ConnectionResetError, OSError) as e:
logger.debug(f"Websocket unexpectedly closed {e}") logger.debug(f"Websocket unexpectedly closed {e}")
elif self.converter.process.poll() is not None: elif self.converter.process.poll() is not None:
break break