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:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user