mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 19:50:38 +09:00
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.resolveChallenge = resolve;
|
||||||
this.rejectChallenge = reject;
|
this.rejectChallenge = reject;
|
||||||
});
|
});
|
||||||
|
this.challengePromise.catch(() => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
async connect(
|
async connect(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue