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

Provide more input data if unmarshaling fails #4

Open
lag13 opened this issue Feb 8, 2018 · 0 comments
Open

Provide more input data if unmarshaling fails #4

lag13 opened this issue Feb 8, 2018 · 0 comments

Comments

@lag13
Copy link
Owner

lag13 commented Feb 8, 2018

I think it would be nice for debugging purposes if when unmarshlling fails in the JSON function more of the input data being unmarshalled was returned in the error message. Maybe its not necessary but it feels nicer to look at an error message like: unmarshalling response body, the body is '<this>is a really weird body': '<' looking for beginning of value instead of: unmarshalling response body: '<' looking for beginning of value.

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