mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 23:19:37 +00:00
refactor: show quick login error
This commit is contained in:
parent
b0cda66b4f
commit
cca8397067
@ -56,7 +56,9 @@ const quickLoginQQ = cmdOptions.qq;
|
||||
if (quickLoginQQ) {
|
||||
log('正在快速登录 ', quickLoginQQ);
|
||||
napCatCore.quickLogin(quickLoginQQ).then(res=>{
|
||||
logDebug('快速登录结果:', res);
|
||||
if (res.loginErrorInfo.errMsg){
|
||||
logError('快速登录错误:', res.loginErrorInfo.errMsg);
|
||||
}
|
||||
}).catch((e) => {
|
||||
console.error(e);
|
||||
napCatCore.qrLogin().then(showQRCode);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user