We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b4a80e2 + 1421fee commit 1fda952Copy full SHA for 1fda952
flask_rest_jsonapi/decorators.py
@@ -79,7 +79,7 @@ def wrapper(*args, **kwargs):
79
e.status,
80
headers)
81
except Exception as e:
82
- if current_app.config['DEBUG'] is True:
+ if current_app.config['DEBUG'] is True or current_app.config.get('PROPAGATE_EXCEPTIONS') is True:
83
raise e
84
85
if 'sentry' in current_app.extensions:
0 commit comments