Skip to content

Commit

Permalink
Catch websocket exception in output
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Aug 19, 2023
1 parent 28ea2af commit 6a6f221
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frigate/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def run(self):
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

Expand Down

0 comments on commit 6a6f221

Please sign in to comment.