remove send errMsg

This commit is contained in:
Shgdym 2022-09-14 14:49:03 +08:00 committed by GitHub
parent ea9141eff0
commit 30999e11c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,9 +204,9 @@ async function jdFruit() {
} catch (e) {
console.log(`任务执行异常,请检查执行日志 ‼️‼️`);
$.logErr(e);
const errMsg = `京东账号${$.index} ${$.nickName || $.UserName}\n任务执行异常,请检查执行日志 ‼️‼️`;
if ($.isNode()) await notify.sendNotify(`${$.name}`, errMsg);
$.msg($.name, '', `${errMsg}`)
// const errMsg = `京东账号${$.index} ${$.nickName || $.UserName}\n任务执行异常请检查执行日志 ‼️‼️`;
// if ($.isNode()) await notify.sendNotify(`${$.name}`, errMsg);
// $.msg($.name, '', `${errMsg}`)
}
await showMsg();
}