mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
refactor: show quick login error
This commit is contained in:
parent
77e3fc4ab0
commit
e83f36a12f
@ -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…
x
Reference in New Issue
Block a user