fix: correct binded_redirect error message - suggest alternate WeChat account

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
stswangzhiping
2026-05-15 17:40:39 +08:00
parent f52ad363a2
commit 6da91c7d26

View File

@@ -401,7 +401,7 @@ async function _runLogin({ callId, timeoutMs, botType, emit, isAborted }) {
log.warn('weixin', `callId=${callId} binded_redirect but local token missing — state inconsistency`); log.warn('weixin', `callId=${callId} binded_redirect but local token missing — state inconsistency`);
emit({ emit({
action: 'finish', event: 'failed', code: 1010, action: 'finish', event: 'failed', code: 1010,
message: '微信已绑定,但本地登录已清除。请在微信 > 设置 > 隐私 > 授权管理 中找到并解除 OpenClaw 授权,再重新扫码登录。', message: '微信账号已绑定过本设备,但本地登录记录已丢失。请换用另一个微信账号扫码重新登录。',
}); });
} }
return; return;