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

Add additional error information to HTTP exceptions #209

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

offa
Copy link
Owner

@offa offa commented Sep 11, 2023

Adds additional information to the exception message (#208, #161).

Request failed: (400) Bad Request

becomes

Request failed: (400) Bad Request (message: {"error":"partial write: field
type conflict: input field "value" on measurement "x" is type string,
already exists as type integer dropped=1"}
)

@offa offa added this to the v0.8.0 milestone Sep 11, 2023
@offa offa self-assigned this Sep 11, 2023
@offa
Copy link
Owner Author

offa commented Sep 11, 2023

/cc @Globostofo

@offa
Copy link
Owner Author

offa commented Sep 21, 2023

ping @Globostofo

@Globostofo
Copy link

It does the job perfectly and simply!
Thanks for your consideration :^)

@offa offa merged commit 25223f9 into master Sep 22, 2023
32 checks passed
@offa offa deleted the 208-exception_info branch September 22, 2023 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(400) Bad Request when inserting a point with an integer field or a string field
2 participants