Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Commit 3c116bf

Browse files
committed
Update FakePlayerController.js
1 parent bf008c8 commit 3c116bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FakePlayerManager/FakePlayerController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ class FakePlayerWebSocketController extends FakePlayerController {
17281728
if (!this.ready) {
17291729
if (!await this.connectWebsocket()) {
17301730
if (Settings.debugMode) logError("Error in send msg", msg);
1731-
new Error(tr("ws.error.send", { code: this.wsc.errorCode() }));
1731+
throw new Error(tr("ws.error.send", { code: this.wsc.errorCode() }));
17321732
}
17331733
}
17341734
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)