From a9616d1cbd7766fc025885b6800edb0f5c0744d7 Mon Sep 17 00:00:00 2001 From: spacebares <57186372+spacebares@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:30:03 -0400 Subject: [PATCH] catch websocket brokenpipe --- frigate/output.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frigate/output.py b/frigate/output.py index e37920fda..de95b87f5 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -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