fix: correct binded_redirect error message for personal WeChat unbind guide

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

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`);
emit({
action: 'finish', event: 'failed', code: 1010,
message: '微信服务端已绑定,但本地登录状态已清除。请在微信公众号后台解绑此 OpenClaw 重新扫码登录。',
message: '微信已绑定,但本地登录已清除。请在微信 > 设置 > 隐私 > 授权管理 中找到并解除 OpenClaw 授权,再重新扫码登录。',
});
}
return;