You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2017/11/10 03:07:52 UTC

[incubator-superset] branch master updated: fix error message format when long query timeout (#3823)

This is an automated email from the ASF dual-hosted git repository.

graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 330926c  fix error message format when long query timeout (#3823)
330926c is described below

commit 330926c167d93f96598899ed175af7b74e5ebd3a
Author: Grace Guo <gr...@airbnb.com>
AuthorDate: Thu Nov 9 19:07:49 2017 -0800

    fix error message format when long query timeout (#3823)
---
 superset/assets/javascripts/chart/chartReducer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/javascripts/chart/chartReducer.js b/superset/assets/javascripts/chart/chartReducer.js
index 2adb904..7d5b23c 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 ' +

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].