调整serveChan报错提示
This commit is contained in:
@@ -130,7 +130,8 @@ function serverNotify(text, desp, timeout = 2100) {
|
|||||||
if (data.errno === 0) {
|
if (data.errno === 0) {
|
||||||
console.log('server酱发送通知消息成功\n')
|
console.log('server酱发送通知消息成功\n')
|
||||||
} else if (data.errno === 1024) {
|
} else if (data.errno === 1024) {
|
||||||
console.log('PUSH_KEY 错误\n')
|
// 一分钟内发送相同的内容会触发
|
||||||
|
console.log(`server酱发送通知消息异常: ${data.errmsg}\n`)
|
||||||
} else {
|
} else {
|
||||||
console.log(`server酱发送通知消息异常\n${JSON.stringify(data)}`)
|
console.log(`server酱发送通知消息异常\n${JSON.stringify(data)}`)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user