You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Just a question, perhaps the current behaviour is OK)
When making AJAX requests to the API from the UI, if the API crashed because of some error (eg. missing field in DB), Angular's $http actually returns an object with "status: 500" (which is correct) and a data properties containing an HTML output with the 500 error returned by the API.
Should we do something in order to get a cleaner JSON output instead of the raw pyramid 500 page?
The text was updated successfully, but these errors were encountered:
(Just a question, perhaps the current behaviour is OK)
When making AJAX requests to the API from the UI, if the API crashed because of some error (eg. missing field in DB), Angular's $http actually returns an object with "status: 500" (which is correct) and a data properties containing an HTML output with the 500 error returned by the API.
Should we do something in order to get a cleaner JSON output instead of the raw pyramid 500 page?
The text was updated successfully, but these errors were encountered: