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