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 error message to DatabaseError output #78

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

ibarakaiev
Copy link
Contributor

@ibarakaiev ibarakaiev commented Jul 13, 2022

Drill 1.19 omits the error message in REST API by default, which is overwritable by setting http.rest.errors.verbose to true. Some non-technical users may benefit from having an error message in Superset UI in case there is a database error or their SQL query is corrupted, which this PR implements. If no error message is provided, it is also useful to know how to overwrite that behavior as it is not easily searchable online.

@jnturton
Copy link
Contributor

Thanks, this looks like a nice little improvement to me. CC @cgivre

@jnturton
Copy link
Contributor

Ping @cgivre.

Copy link
Collaborator

@cgivre cgivre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1

@cgivre cgivre merged commit ecd5d4f into JohnOmernik:master Jul 29, 2022
jnturton pushed a commit to jnturton/sqlalchemy-drill that referenced this pull request Jun 4, 2024
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

Successfully merging this pull request may close these issues.

3 participants