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

Attach body of non-200 return codes to HTTP exceptions #123

Open
josephbirkner opened this issue Aug 29, 2024 · 0 comments
Open

Attach body of non-200 return codes to HTTP exceptions #123

josephbirkner opened this issue Aug 29, 2024 · 0 comments
Labels
C++ 🐺 This issue affects the zswag C++ client. OpenAPI 🌍 This issue improves OpenAPI compliance. Python 🐍 This issue affects the zswag Python client.

Comments

@josephbirkner
Copy link
Collaborator

Currently, when a non-200 response status is received, an HTTP error is thrown that does not include the server's response body. This can be valuable information for debugging, and should be visible in the exception.

@josephbirkner josephbirkner added OpenAPI 🌍 This issue improves OpenAPI compliance. C++ 🐺 This issue affects the zswag C++ client. Python 🐍 This issue affects the zswag Python client. labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ 🐺 This issue affects the zswag C++ client. OpenAPI 🌍 This issue improves OpenAPI compliance. Python 🐍 This issue affects the zswag Python client.
Projects
None yet
Development

No branches or pull requests

1 participant