wechaty / wechaty-puppet-padplus

DEPRECATED: One puppet based on iPad protocal for Wechaty
https://wechaty.js.org/docs/puppet-services/
317 stars 65 forks source link

getContactCount 导致服务崩溃 #334

Open KAWATAAAAAA opened 1 year ago

KAWATAAAAAA commented 1 year ago

1. Versions

2. Describe the bug

getContactCount 导致服务崩溃

image

生产环境不能开启 process.on uncaughtException , 这样会导致服务无法正确工作,崩溃后机器人无法使用,但nodejs进程还是正常的,导致无法感知到,并且正常重启, 这种内部错误 如何try catch ?

3. To Reproduce

  1. 正常登录机器人
  2. 崩溃

4. Expected behavior

能正常启动

5. Actual behavior

无法正常启动

6. Full Output Logs

Show Logs ```shell ```

7. Additional contex