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

Improve API error messaging #27

Merged
merged 3 commits into from
Apr 13, 2018
Merged

Improve API error messaging #27

merged 3 commits into from
Apr 13, 2018

Conversation

binaryaaron
Copy link
Contributor

Previously, errors related to the API were reported from a hard-coded copy of our documentation pages and were not passed on from the underlying error message in the Response object. I didn't realize that our extremely awesome and thoughtful engineers had extremely awesome and thoughtful error messages that were as specific as

There were errors processing your request: is/has/lang cannot be used as a standalone operator (at position 1)

This is rather helpful to developers and might help us reduce questions on the developer forums about debugging queries.

@binaryaaron binaryaaron merged commit 3a6068f into master Apr 13, 2018
@binaryaaron binaryaaron deleted the improve_error_messages branch April 13, 2018 20:06
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.

1 participant