Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
1. Versions
What is your wechaty version?
Answer: wechaty@0.57.3
What is your wechaty-puppet-donut version?
Answer: wechaty-puppet-service@0.14.5
What is your node version? (run node --version)
Answer: v10.21.0
What os are you using
Answer: Ubuntu 20.04 LTS
2. Describe the bug
Give a clear and concise description of what the bug is.
When receiving messages of type ChatHistory, I'll get
(node:20356) UnhandledPromiseRejectionWarning: Error: 2 UNKNOWN: Wechaty Puppet Unsupported API Error. Learn More At https://github.com/wechaty/wechaty-puppet/wiki/Compatibility
at Object.exports.createStatusError (/path/to/nodejs/node_modules/grpc/src/common.js:91:15)
at ClientReadableStream._emitStatusIfDone (/path/to/nodejs/node_modules/grpc/src/client.js:233:26)
at ClientReadableStream._receiveStatus (/path/to/nodejs/node_modules/grpc/src/client.js:211:8)
at Object.onReceiveStatus (/path/to/nodejs/node_modules/grpc/src/client_interceptors.js:1277:15)
at InterceptingListener._callNext (/path/to/nodejs/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/path/to/nodejs/node_modules/grpc/src/client_interceptors.js:618:8)
at /path/to/nodejs/node_modules/grpc/src/client_interceptors.js:1033:24
(node:20356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20356) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
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:
Receive ChatHistory.
4. Expected behavior
ChatHistory supported, or at least passing the payload to the user, instead of throwing exception.
5. Actual behavior
ChatHistory unsupported and cause the above exception.
0. Report Issue Guide
No.
Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
1. Versions
What is your wechaty version? Answer: wechaty@0.57.3
What is your wechaty-puppet-donut version? Answer: wechaty-puppet-service@0.14.5
What is your node version? (run
node --version
) Answer: v10.21.0What os are you using Answer: Ubuntu 20.04 LTS
2. Describe the bug
Give a clear and concise description of what the bug is.
When receiving messages of type
ChatHistory
, I'll get3. 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:
Receive ChatHistory.
4. Expected behavior
ChatHistory supported, or at least passing the payload to the user, instead of throwing exception.
5. Actual behavior
ChatHistory unsupported and cause the above exception.
6. Full Output Logs
Will be provided, if necessary.
[bug]