Skip to content

Commit

Permalink
caravel: catch only ImportError when loading config (#559)
Browse files Browse the repository at this point in the history
As you may want to see the exception raised on at leasts SyntaxError
  • Loading branch information
xrmx authored and mistercrunch committed Jun 3, 2016
1 parent 3ee9a68 commit fe40246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@

try:
from caravel_config import * # noqa
except Exception:
except ImportError:
pass

if not CACHE_DEFAULT_TIMEOUT:
Expand Down

0 comments on commit fe40246

Please sign in to comment.