mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
parent
9fc93c72a0
commit
cb3990a0ac
@ -85,7 +85,10 @@ class WebSocketClient(Communicator): # type: ignore[misc]
|
|||||||
logger.debug(f"payload for {topic} wasn't text. Skipping...")
|
logger.debug(f"payload for {topic} wasn't text. Skipping...")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
try:
|
||||||
self.websocket_server.manager.broadcast(ws_message)
|
self.websocket_server.manager.broadcast(ws_message)
|
||||||
|
except ConnectionResetError:
|
||||||
|
pass
|
||||||
|
|
||||||
def stop(self) -> None:
|
def stop(self) -> None:
|
||||||
self.websocket_server.manager.close_all()
|
self.websocket_server.manager.close_all()
|
||||||
|
Loading…
Reference in New Issue
Block a user