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

no structured ErrorObj if error occurs #14

Open
clumsy456 opened this issue Oct 12, 2022 · 0 comments
Open

no structured ErrorObj if error occurs #14

clumsy456 opened this issue Oct 12, 2022 · 0 comments

Comments

@clumsy456
Copy link

respBody, statusCode, err := p.Client.Query(api, query)

这里当err != nil时,直接返回,resp里面结构化的ErrorObj不会被反序列化,外部也就永远拿不到结构化的错误信息

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