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

Include InfluxDB error string in crate errors #152

Open
Empty2k12 opened this issue Apr 4, 2024 · 0 comments
Open

Include InfluxDB error string in crate errors #152

Empty2k12 opened this issue Apr 4, 2024 · 0 comments

Comments

@Empty2k12
Copy link
Collaborator

In #150 error types were adapted, however it would be good to adapt the errors even further to include the error string returned from the InfluxDB API. Such an error response can look as follows "{ \"code\":\"invalid\",\"message\":\"failed to parse query: found MEASUREMENT, expected FROM, WHERE at line 1, char 8\"}" and it should be decided if only the message or the whole response body should be included in the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant