Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Jun 13, 2018
1 parent 71b4e46 commit 954312a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/middleware/flask_app.py
Expand Up @@ -416,5 +416,5 @@ def error_handler(e):

for code in default_exceptions:
app.register_error_handler(code, error_handler)
if not app.debug:
if not app.debug and not app.testing:
app.register_error_handler(Exception, error_handler)

0 comments on commit 954312a

Please sign in to comment.