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

fix 添加cmq错误返回处理 #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ACV-er
Copy link

@ACV-er ACV-er commented Jan 21, 2022

CMQ返回的没有CodeDesc,我尝试过自己实现tchttp.Response接口传入,但是还有一个写死的ParseErrorFromHTTPResponse。我没有办法在CMQ出错的时候获取到Code。

@ACV-er
Copy link
Author

ACV-er commented Jan 21, 2022

https://cloud.tencent.com/document/product/406/5837 像这个文档里面的接口,就没有办法处理。我认为在common里面写死所有接口的错误处理是不合理的。因为你们没有办法保证所有的返回值格式一样。

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

Successfully merging this pull request may close these issues.

1 participant