- moved browser to player instance
- logger accepts multiple arguments
- changed error messages
This commit is contained in:
2024-09-30 20:39:20 +01:00
parent cf9c4ce691
commit fafcdb50a8
10 changed files with 25 additions and 30 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ export class Player {
: []
): Promise<RageFW_CefReturn<EventName>> {
if (!this.browser)
throw new Error('You need to initialize browser first!')
throw new Error('You need to initialize browser first')
return rpc.callBrowser(this.browser, eventName, args)
}
}