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

View File

@@ -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(