Skip to content

[FEATURE] Return certain Exceptions as response with correct header

Matthias Adrowski requested to merge feature_exception2response into master

Instead of throwing exceptions, which will be logged by the system, return usable status codes and messages. Will return a valid JSON with a Message key in that Case.

Exceptions, which do not carry codes of 401, 403 or 404 are not catched for now, stopping us to return too usefull informations.

Merge request reports