Open KAWATAAAAAA opened 1 year ago
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
node --version
What os are you using Answer: Mac Os
getContactCount 导致服务崩溃
getContactCount
生产环境不能开启 process.on uncaughtException , 这样会导致服务无法正确工作,崩溃后机器人无法使用,但nodejs进程还是正常的,导致无法感知到,并且正常重启, 这种内部错误 如何try catch ?
能正常启动
无法正常启动
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.0What os are you using Answer: Mac Os
2. Describe the bug
getContactCount
导致服务崩溃生产环境不能开启 process.on uncaughtException , 这样会导致服务无法正确工作,崩溃后机器人无法使用,但nodejs进程还是正常的,导致无法感知到,并且正常重启, 这种内部错误 如何try catch ?
3. To Reproduce
4. Expected behavior
能正常启动
5. Actual behavior
无法正常启动
6. Full Output Logs
Show Logs
```shell ```7. Additional contex