You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/04/20 15:00:11 UTC

[GitHub] zhaoyongjie closed pull request #4860: #4859 Config.py swallowed ImportError when use custome configuration

zhaoyongjie closed pull request #4860: #4859 Config.py swallowed ImportError when use custome configuration
URL: https://github.com/apache/incubator-superset/pull/4860
 
 
   

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/config.py b/superset/config.py
index 8a1b106373..5d8dcbbb8c 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -15,6 +15,7 @@
 import json
 import os
 import sys
+import traceback
 
 from dateutil import tz
 from flask_appbuilder.security.manager import AUTH_DB
@@ -432,4 +433,4 @@ class CeleryConfig(object):
         print('Loaded your LOCAL configuration at [{}]'.format(
             superset_config.__file__))
 except ImportError:
-    pass
+    print(traceback.format_exc())


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services