getContactCount 导致服务崩溃
KAWATAAAAAA opened this issue · 0 comments
KAWATAAAAAA commented
1. Versions
-
What is your wechaty version?
Answer: "@juzi/wechaty": "1.0.47" -
What is your wechaty-puppet-padplus version?
Answer: "@juzi/wechaty-puppet-padplus": "1.2.9", -
What is your node version? (run
node --version
)
Answer: v16.17.0 -
What os are you using
Answer: Mac Os
2. Describe the bug
生产环境不能开启 process.on uncaughtException , 这样会导致服务无法正确工作,崩溃后机器人无法使用,但nodejs进程还是正常的,导致无法感知到,并且正常重启, 这种内部错误 如何try catch ?
3. To Reproduce
- 正常登录机器人
- 崩溃
4. Expected behavior
能正常启动
5. Actual behavior
无法正常启动