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
Reference in a new issue