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

Return more details when request is malformed #73

Open
piranha opened this issue Nov 28, 2024 · 1 comment
Open

Return more details when request is malformed #73

piranha opened this issue Nov 28, 2024 · 1 comment

Comments

@piranha
Copy link

piranha commented Nov 28, 2024

Currently the only error client gets is "Malformed JSON in request body.", while Jackson's exceptions contain enough details to diagnose a problem (i.e. "Unrecognized token 'ture'").

I could not come up with a PR solving this w/o majorly reordering internals, since json-body-request indicates an error happening with an empty response. If you're interested in that, I can work on a PR given the idea of a change. :)

@weavejester
Copy link
Member

This seems like a reasonable improvement.

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

2 participants