We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f01d088 commit b64f8b5Copy full SHA for b64f8b5
models/workers/obs_ws/obs_daemon.py
@@ -3,6 +3,7 @@
3
from queue import Empty
4
5
# package import
6
+from obsws_python.error import OBSSDKRequestError
7
from PySide6.QtCore import Slot
8
9
# local package import
@@ -25,7 +26,8 @@ def run(self, /):
25
26
while app_state.obs_client is not None and self.is_running:
27
with suppress(Empty):
28
req, body = app_state.obs_req_queue.get(timeout=.2)
- app_state.obs_client.send(req, body)
29
+ with suppress(OBSSDKRequestError):
30
+ app_state.obs_client.send(req, body)
31
32
@classmethod
33
def disconnect_obs(cls, state: ObsBtnState):
0 commit comments