Give a clear and concise description of what you expected to happen.
Should not show errors.
5. Actual behavior
If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.
6. Full Output Logs
Set env WECHATY_LOG=silly in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)
We need full log instead of log screenshot or log fragments!
0. Report Issue Guide
1. Versions
What is your wechaty version? Answer: 0.32.4
What is your wechaty-puppet-macpro version? Answer: 0.4.0
What is your node version? (run
node --version
) Answer: 13.10.1What os are you using Answer: macOS
2. Describe the bug
Give a clear and concise description of what the bug is.
When I started the bot script, sometimes the errror 'Error: roomRawPayload() no cacheManager' shows, sometimes not. About 30% possibility.
3. To Reproduce
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
.env
:bot.js
:4. Expected behavior
Give a clear and concise description of what you expected to happen.
Should not show errors.
5. Actual behavior
If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.
6. Full Output Logs
Set env
WECHATY_LOG=silly
in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)We need full log instead of log screenshot or log fragments!
Show Logs
```shell 20:46:13 SILL Config WECHATY_LOG set level to silly 20:46:13 INFO Config registering process.on("unhandledRejection") for development/debug 20:46:13 VERB Config constructor() 20:46:14 VERB Puppet constructor({"token":"puppet_macpro_04ba0ca66f731f48"}) #0 20:46:14 VERB StateSwitch constructor(name=PuppetMacpro) 20:46:14 VERB MemoryCard constructor(undefined) 20:46:14 VERB MemoryCard getStorage() for storage type: N/A 20:46:14 VERB MemoryCard load() from storage: N/A 20:46:14 VERB MemoryCard load() no storage 20:46:14 VERB Puppet constructor() watchdog timeout set to 60 seconds 20:46:14 VERB HotImport callerResolve(., /Users/huachen/Dev/zao/wechaty-test/node_modules/_wechaty-puppet@0.20.2@wechaty-puppet/dist/src/puppet.js) 20:46:14 SILL HotImport callerResolve() callsites() file=/Users/huachen/Dev/zao/wechaty-test/node_modules/_hot-import@0.2.14@hot-import/dist/src/hot-import.js, type=Object 20:46:14 SILL HotImport callerResolve() callsites() file=/Users/huachen/Dev/zao/wechaty-test/node_modules/_wechaty-puppet@0.20.2@wechaty-puppet/dist/src/puppet.js, type=null 20:46:14 SILL HotImport callerResolve() callsites() file=/Users/huachen/Dev/zao/wechaty-test/node_modules/_wechaty-puppet-macpro@0.4.0@wechaty-puppet-macpro/dist/src/puppet-macpro.js, type=null 20:46:14 SILL HotImport callerResolve() callerFile=/Users/huachen/Dev/zao/wechaty-test/node_modules/_wechaty-puppet-macpro@0.4.0@wechaty-puppet-macpro/dist/src/puppet-macpro.js 20:46:14 VERB Puppet constructor() childClassPath=/Users/huachen/Dev/zao/wechaty-test/node_modules/_wechaty-puppet-macpro@0.4.0@wechaty-puppet-macpro/dist/src 20:46:14 SILL Accessory #07. Additional context
Add any other context about the problem here.
[bug]