Skip to content
This repository was archived by the owner on Jun 1, 2020. It is now read-only.
This repository was archived by the owner on Jun 1, 2020. It is now read-only.

UnhandledPromiseRejectionWarning: Error: no raw payload #139

Open
@huan

Description

@huan

v0.9.16

2018-08-09T13:03:08.339663+00:00 app[web.1]: (node:20) UnhandledPromiseRejectionWarning: Error: no raw payload
2018-08-09T13:03:08.339667+00:00 app[web.1]:     at PadchatManager.<anonymous> (/app/node_modules/wechaty-puppet-padchat/src/padchat-manager.ts:1003:13)
2018-08-09T13:03:08.339669+00:00 app[web.1]:     at Generator.next (<anonymous>)
2018-08-09T13:03:08.339671+00:00 app[web.1]:     at fulfilled (/app/node_modules/wechaty-puppet-padchat/dist/src/padchat-manager.js:4:58)
2018-08-09T13:03:08.339673+00:00 app[web.1]:     at process._tickCallback (internal/process/next_tick.js:68:7)
2018-08-09T13:03:08.339757+00:00 app[web.1]: (node:20) 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: 3)

We need to find a way to identify which contact id we can get payload, and which one we can not.

So that we can take care of them before we pass it to contactRawPayload()

https://github.com/lijiarui/wechaty-puppet-padchat/blob/a295638ddcadfb96410625a772e2aed2e4fd813a/src/padchat-manager.ts#L1002-L1004

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions