graceguo-supercat closed pull request #3823: fix error message format when long 
query timeout
URL: https://github.com/apache/incubator-superset/pull/3823
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/superset/assets/javascripts/chart/chartReducer.js 
b/superset/assets/javascripts/chart/chartReducer.js
index 2adb904687..7d5b23c32f 100644
--- a/superset/assets/javascripts/chart/chartReducer.js
+++ b/superset/assets/javascripts/chart/chartReducer.js
@@ -62,7 +62,7 @@ export default function chartReducer(charts = {}, action) {
       return { ...state,
         chartStatus: 'failed',
         chartAlert: (
-        "<strong>{t('Query timeout')}</strong> - " +
+        `<strong>${t('Query timeout')}</strong> - ` +
         t(`visualization queries are set to timeout at ${action.timeout} 
seconds. `) +
         t('Perhaps your data has grown, your database is under unusual load, ' 
+
           'or you are simply querying a data source that is too large ' +


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to