mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
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:
|
try:
|
||||||
from caravel_config import * # noqa
|
from caravel_config import * # noqa
|
||||||
except Exception:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if not CACHE_DEFAULT_TIMEOUT:
|
if not CACHE_DEFAULT_TIMEOUT:
|
||||||
|
Loading…
Reference in New Issue
Block a user