pause main thread until authentication successful

lowercase debug strings

raise OBSWSError if no matching response received.
This commit is contained in:
norm
2022-10-23 04:39:22 +01:00
parent c3f39ea095
commit 9ac5b6f36f
3 changed files with 19 additions and 13 deletions

View File

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