Return application/problem+json format errors and provide error endpoint
to dereference error codes.
This commit is contained in:
parent
8c81915f38
commit
9c08717173
7 changed files with 156 additions and 39 deletions
|
@ -129,7 +129,7 @@
|
|||
$scope.showInterface = true;
|
||||
}, function(resp) {
|
||||
$scope.users = [];
|
||||
$scope.usersError = resp['data']['message'] || resp['data']['error_description'];
|
||||
$scope.usersError = resp['data']['message'] || resp['data']['error_description'] || resp['data']['detail'];
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue