调整serveChan报错提示

This commit is contained in:
Dellear
2020-12-22 01:21:29 +08:00
committed by GitHub
parent 40a9094061
commit 5f60e91ec3

View File

@@ -130,7 +130,8 @@ function serverNotify(text, desp, timeout = 2100) {
if (data.errno === 0) {
console.log('server酱发送通知消息成功\n')
} else if (data.errno === 1024) {
console.log('PUSH_KEY 错误\n')
// 一分钟内发送相同的内容会触发
console.log(`server酱发送通知消息异常: ${data.errmsg}\n`)
} else {
console.log(`server酱发送通知消息异常\n${JSON.stringify(data)}`)
}