We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b44bc08 commit 68d0faaCopy full SHA for 68d0faa
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['PROPAGATE_EXCEPTIONS'] is True:
83
raise e
84
85
if 'sentry' in current_app.extensions:
0 commit comments