Merge pull request #46 from shgdym/main

remove send errMsg
This commit is contained in:
Faker 2022-09-14 15:08:13 +08:00 committed by GitHub
commit 9c7c5b7423
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();
}