Merge pull request #1361 from ecordell/application-problem-json
Return application/problem+json format errors
This commit is contained in:
commit
29eb0304e5
30 changed files with 309 additions and 141 deletions
|
@ -129,7 +129,7 @@
|
|||
$scope.showInterface = true;
|
||||
}, function(resp) {
|
||||
$scope.users = [];
|
||||
$scope.usersError = resp['data']['message'] || resp['data']['error_description'];
|
||||
$scope.usersError = ApiService.getErrorMessage(resp);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -365,4 +365,4 @@
|
|||
// Load the initial status.
|
||||
$scope.checkStatus();
|
||||
}
|
||||
}());
|
||||
}());
|
||||
|
|
Reference in a new issue