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:
Dotta 2026-03-19 09:12:20 -05:00 committed by GitHub
commit b1c4b2e420
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -605,6 +605,7 @@ class GatewayWsClient {
this.resolveChallenge = resolve;
this.rejectChallenge = reject;
});
this.challengePromise.catch(() => {});
}
async connect(