From 767abed7f0cc044b2d03b98551a1c44fcedc6e38 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 19 Aug 2023 12:38:47 -0600 Subject: [PATCH] Catch websocket exception in output (#7525) --- frigate/output.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/output.py b/frigate/output.py index 80f084edb..e37920fda 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -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