Skip to content

Include InfluxDB error string in crate errors #152

Open
@Empty2k12

Description

@Empty2k12

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions