mirror of
https://github.com/onyx-and-iris/obsws-ruby.git
synced 2026-04-18 21:43:32 +00:00
pause main thread until authentication successful
lowercase debug strings raise OBSWSError if no matching response received.
This commit is contained in:
@@ -51,6 +51,10 @@ module OBSWS
|
||||
raise OBSWSError.new(error.join("\n"))
|
||||
end
|
||||
@response[:responseData]
|
||||
rescue WaitUtil::TimeoutError
|
||||
msg = "no response with matching id received"
|
||||
LOGGER.error(msg)
|
||||
raise OBSWSError.new(msg)
|
||||
end
|
||||
|
||||
def get_version
|
||||
|
||||
Reference in New Issue
Block a user