Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getContactCount 导致服务崩溃 #334

Open
KAWATAAAAAA opened this issue Apr 6, 2023 · 0 comments
Open

getContactCount 导致服务崩溃 #334

KAWATAAAAAA opened this issue Apr 6, 2023 · 0 comments

Comments

@KAWATAAAAAA
Copy link

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

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

7. Additional contex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant