提交 43102152 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

do not send error to user anymore

上级 feb5f78d
......@@ -91,9 +91,11 @@ function onLogout (user: Contact) {
function onError (e: Error) {
console.error('Bot error:', e)
/*
if (bot.logonoff()) {
bot.say('Wechaty error: ' + e.message).catch(console.error)
}
*/
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册