wizardzhang opened a new issue, #4602:
URL: https://github.com/apache/eventmesh/issues/4602

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Environment
   
   Windows
   
   ### EventMesh version
   
   master
   
   ### What happened
   
   when i use wechat-sink-connector send message test some abnormal case, like 
this
   
![image](https://github.com/apache/eventmesh/assets/11482231/aadc24d9-3076-4719-b7cd-03a2afe34261)
   when response errcode is not zero , it should throw IllegalAccessException 
   
![image](https://github.com/apache/eventmesh/assets/11482231/20106033-7ce2-45af-8e95-6a8c859c254a)
   actually it does not, because the class TemplateMessageResponse.calss filed 
errocode is wrong, not match the wecaht response json errcode
   
![image](https://github.com/apache/eventmesh/assets/11482231/39cb126b-7137-4a0c-a9e3-72e98ceef5bf)
   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?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct) *


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to