nytai commented on a change in pull request #12468:
URL: https://github.com/apache/superset/pull/12468#discussion_r556049336
##########
File path: superset/views/core.py
##########
@@ -702,7 +702,8 @@ def explore( # pylint:
disable=too-many-locals,too-many-return-statements
datasource_id, datasource_type = get_datasource_info(
datasource_id, datasource_type, form_data
)
- except SupersetException:
+ except SupersetException as e:
+ flash(e.message, "danger")
Review comment:
This seems like a good pattern in general :)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]