apache / eventmesh

EventMesh is a new generation serverless event middleware for building distributed event-driven applications.
https://eventmesh.apache.org/
Apache License 2.0
1.6k stars 635 forks source link

[Bug] when wechat send message api response errcode is not zero, the wechat sink connector does not throw IllegalAccessException #4602

Closed wizardzhang closed 9 months ago

wizardzhang commented 9 months ago

Search before asking

Environment

Windows

EventMesh version

master

What happened

when i use wechat-sink-connector send message test some abnormal case, like this image when response errcode is not zero , it should throw IllegalAccessException image actually it does not, because the class TemplateMessageResponse.calss filed errocode is wrong, not match the wecaht response json errcode image sorry for missing abnormal case in unit test, i will add abnormal case in unit test and fix the bug

How to reproduce

i use wechat-sink-connector send message test some abnormal case, make the wechat server response errcode is not zero

Debug logs

No response

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 9 months ago

Welcome to the Apache EventMesh community!! We are glad that you are contributing by opening this issue. :D

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our project, please let us know! You can check out our contributing guide on contributing to EventMesh.

Want to get closer to the community?

WeChat Assistant WeChat Public Account Slack
Join Slack Chat
Mailing Lists: Name Description Subscribe Unsubscribe Archive
Users User support and questions mailing list Subscribe Unsubscribe Mail Archives
Development Development related discussions Subscribe Unsubscribe Mail Archives
Commits All commits to repositories Subscribe Unsubscribe Mail Archives
Issues Issues or PRs comments and reviews Subscribe Unsubscribe Mail Archives