Merge pull request #743 from Sigmabrogz/fix/openclaw-gateway-unhandled-rejection
fix(openclaw-gateway): handle challengePromise rejection to prevent crash
This commit is contained in:
commit
b1c4b2e420
1 changed files with 1 additions and 0 deletions
|
|
@ -605,6 +605,7 @@ class GatewayWsClient {
|
|||
this.resolveChallenge = resolve;
|
||||
this.rejectChallenge = reject;
|
||||
});
|
||||
this.challengePromise.catch(() => {});
|
||||
}
|
||||
|
||||
async connect(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue