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:
Sigmabrogz
2026-03-13 00:42:28 +00:00
parent d14e656ec1
commit 3d2abbde72

View File

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