linyimin0812 / wechaty-puppet-ioscat

Puppet Ios Cat for Wechaty
https://www.npmjs.com/package/wechaty-puppet-ioscat
Apache License 2.0
37 stars 11 forks source link

Error: contact = wxid_5zj4ixxxp9ih22 not exist [object Promise] #14

Open huan opened 6 years ago

huan commented 6 years ago

When use this puppet the first time, it showed the following ERR messages:

20:41:16 VERB Contact ready() this.puppet.contactPayload(ContactSelf) exception: contact = wxid_5zj4i5htp9ih22 not exist
20:41:16 ERR Config ###########################
20:41:16 ERR Config unhandledRejection: Error: contact = wxid_5zj4i5xxx9ih22 not exist [object Promise]
20:41:16 ERR Config ###########################
20:41:16 ERR Config process.on(unhandledRejection) promise.catch(contact = wxid_5zj4i5xxp9ih22 not exist)
Config Error: contact = wxid_5zj4i5htp9ih22 not exist
    at IosCatManager.<anonymous> (/home/ubuntu/workspace/node_modules/wechaty-puppet-ioscat/src/ioscat-manager.ts:397:15)
    at Generator.next (<anonymous>)
    at fulfilled (/home/ubuntu/workspace/node_modules/wechaty-puppet-ioscat/dist/src/ioscat-manager.js:4:58)
(node:263234) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)

After try to run the bot multiple times, this error message did not appear anymore.