Skip to content

Commit b64f8b5

Browse files
committed
[0.8.1] now ignore all OBS related exceptions
1 parent f01d088 commit b64f8b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

models/workers/obs_ws/obs_daemon.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from queue import Empty
44

55
# package import
6+
from obsws_python.error import OBSSDKRequestError
67
from PySide6.QtCore import Slot
78

89
# local package import
@@ -25,7 +26,8 @@ def run(self, /):
2526
while app_state.obs_client is not None and self.is_running:
2627
with suppress(Empty):
2728
req, body = app_state.obs_req_queue.get(timeout=.2)
28-
app_state.obs_client.send(req, body)
29+
with suppress(OBSSDKRequestError):
30+
app_state.obs_client.send(req, body)
2931

3032
@classmethod
3133
def disconnect_obs(cls, state: ObsBtnState):

0 commit comments

Comments
 (0)