superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grace...@apache.org
Subject [incubator-superset] branch master updated: fix error message format when long query timeout (#3823)
Date Fri, 10 Nov 2017 03:07:52 GMT
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 <grace.guo@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" <commits@superset.apache.org>'].

Mime
View raw message