superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccwilli...@apache.org
Subject [incubator-superset] 08/13: [common] add better SupersetClient initialization error
Date Mon, 15 Oct 2018 19:52:17 GMT
This is an automated email from the ASF dual-hosted git repository.

ccwilliams pushed a commit to branch chris--ajax-charts
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit 4cb51adf2631354e4b288910055406a0e29b2b06
Author: Chris Williams <chris.williams@airbnb.com>
AuthorDate: Tue Sep 18 17:44:47 2018 -0700

    [common] add better SupersetClient initialization error
---
 superset/assets/src/common.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/assets/src/common.js b/superset/assets/src/common.js
index 76173e2..ff0bb0d 100644
--- a/superset/assets/src/common.js
+++ b/superset/assets/src/common.js
@@ -45,6 +45,6 @@ export function appSetup() {
   SupersetClient.configure({ host: (window.location && window.location.host) || ''
})
     .init()
     .catch((error) => {
-      console.warn(error);
+      console.warn('Error initializing SupersetClient', error);
     });
 }


Mime
View raw message