forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(sqllab): make database errors more clear and render as monospace (
apache#11075) * style(sqllab): make database errors more clear and render as monospace In SQL Lab, when a database error message is returned, generally because of a user error in the SQL, it's identified as an "Unexpected Error" and some of the text formatting of the error message (\n, spaces, tabs, ...) are lost as they are rendered in html. This PR identifies the error as a "Database Error", and renders like more like a <pre>, using a monospace font. * fix the build * addressing comments * addressed comments * lint + removing cruft * addressing comments
- Loading branch information
1 parent
959b740
commit e77b018
Showing
4 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters