mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
fix(openclaw-gateway): catch challengePromise rejection to prevent unhandled rejection process crash
Resolves #727 Signed-off-by: Sigmabrogz <bnb1000bnb@gmail.com>
This commit is contained in:
parent
d14e656ec1
commit
3d2abbde72
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
Add a link
Reference in a new issue