Catch birdseye websocket error (#17502)

This commit is contained in:
Josh Hawkins 2025-04-02 08:38:48 -05:00 committed by GitHub
parent f0b15e1f04
commit 6475e042b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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