Skip to content

Conversation

tsnowlan
Copy link

If not using debug mode, non-JsonApiExceptions are only returned to the requestor and not logged. This makes it difficult to detect when requests are failing and what is causing the exceptions.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 90.424% when pulling 730094c on tsnowlan:frj-log-exceptions into a4ff3f4 on miLibris:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 90.424% when pulling 730094c on tsnowlan:frj-log-exceptions into a4ff3f4 on miLibris:master.

@mahenzon
Copy link

Hi @tsnowlan! We maintain an upgraded fork Flask-COMBO-JSONAPI and already have such fix. Please take a look:

https://github.com/AdCombo/flask-combo-jsonapi/blob/b6303f3afda82eed8e2e5e3146f5d21e196231e4/flask_combo_jsonapi/decorators.py#L92-L94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants