mirror of https://github.com/apache/superset.git
caravel: catch only ImportError when loading config (#559)
As you may want to see the exception raised on at leasts SyntaxError
This commit is contained in:
parent
3ee9a68c09
commit
fe402465b1
|
@ -176,7 +176,7 @@ BACKUP_COUNT = 30
|
|||
|
||||
try:
|
||||
from caravel_config import * # noqa
|
||||
except Exception:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
if not CACHE_DEFAULT_TIMEOUT:
|
||||
|
|
Loading…
Reference in New Issue