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

发送文件失败 #87

Closed
KaneOne opened this issue Sep 13, 2024 · 1 comment
Closed

发送文件失败 #87

KaneOne opened this issue Sep 13, 2024 · 1 comment

Comments

@KaneOne
Copy link

KaneOne commented Sep 13, 2024

昨天还可以发送,今天就不行了。

2024-09-13 17:09:22.830 ERROR 9364 AssertionError [ERR_ASSERTION]: -1 == 0
    at Object.equal (/root/project/iop/wechat-bot/node_modules/.pnpm/[email protected]/node_modules/wechat4u/src/util/global.js:53:14)
    at /root/project/iop/wechat-bot/node_modules/.pnpm/[email protected]/node_modules/wechat4u/src/core.js:859:16
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at PuppetWechat4u.messageSendFile (/root/project/iop/wechat-bot/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/wechaty-puppet-wechat4u/src/puppet-wechat4u.ts:813:5)
    at /root/project/iop/wechat-bot/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/wechaty/src/sayable/deliver-sayable.ts:41:13
    at WechatifiedUserClass.say (/root/project/iop/wechat-bot/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/wechaty/src/user-modules/contact.ts:338:19)
    at WechatyService.sendMessage (/root/project/iop/wechat-bot/src/service/wechaty/wechaty.service.ts:160:7)
    at SendPolicyFileProcessor.execute (/root/project/iop/wechat-bot/src/queue/wechat.queue.ts:22:9)
    at /root/project/iop/wechat-bot/node_modules/.pnpm/@[email protected]/node_modules/@midwayjs/bull/dist/framework.js:115:28
    at /root/project/iop/wechat-bot/node_modules/.pnpm/@[email protected]/node_modules/@midwayjs/core/dist/baseFramework.js:273:40 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: -1,
  expected: 0,
  operator: '==',
  response: [Object],
  tips: '发送文件失败'
}
@KaneOne
Copy link
Author

KaneOne commented Sep 13, 2024

好像因为好友没有找到的原因。

@KaneOne KaneOne closed this as completed Sep 13, 2024
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