catch websocket brokenpipe

This commit is contained in:
spacebares 2023-08-22 15:30:03 -04:00
parent 7c629c1874
commit a9616d1cbd

View File

@ -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