Merge pull request #1361 from ecordell/application-problem-json

Return application/problem+json format errors
This commit is contained in:
Evan Cordell 2016-04-12 17:25:14 -04:00
commit 29eb0304e5
30 changed files with 309 additions and 141 deletions

View file

@ -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();
}
}());
}());