mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 11:15:21 +03:00
catch websocket brokenpipe
This commit is contained in:
parent
7c629c1874
commit
a9616d1cbd
@ -212,6 +212,8 @@ class BroadcastThread(threading.Thread):
|
||||
pass
|
||||
except ConnectionResetError as e:
|
||||
logger.debug(f"Websocket unexpectedly closed {e}")
|
||||
except BrokenPipeError as e:
|
||||
logger.debug(f"Websocket encountered a Broken pipe {e}")
|
||||
elif self.converter.process.poll() is not None:
|
||||
break
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user