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

Better capture "invalid body" errors in the Request or the Response. #19

Open
shulard opened this issue Dec 6, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@shulard
Copy link
Member

shulard commented Dec 6, 2022

Is your feature request related to a problem? Please describe.

Today it's really hard to find where an invalid body error occurs. We must be able to expose the corresponding body to diagnose the issue.
Today we got a simple:

Something went wrong: JSON parsing failed with "Syntax error" for Request

Describe the solution you'd like

Attaching the message which has a failed body to the exception so we might use it to display relevant details to the user.

@shulard shulard added the enhancement New feature or request label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant