mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
Catch websocket exception in output (#7525)
This commit is contained in:
parent
28ea2afa51
commit
767abed7f0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user