ktmud commented on a change in pull request #12468:
URL: https://github.com/apache/superset/pull/12468#discussion_r556072568



##########
File path: superset/views/core.py
##########
@@ -703,6 +703,7 @@ def explore(  # pylint: 
disable=too-many-locals,too-many-return-statements
                 datasource_id, datasource_type, form_data
             )
         except SupersetException:
+            flash("The dataset associated with this chart no longer exists", 
"danger")

Review comment:
       And don't forget to add i18n: 
   
   ```python
   _("Error occurred when opening the chart: %(error)", 
error=utils.error_msg_from_exception(ex))
   ```




----------------------------------------------------------------
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]

Reply via email to