Print error message in UI portal

This commit is contained in:
Alex Ellis 2017-03-13 17:04:34 +00:00
parent 2700a15668
commit 5802cd11dc

View File

@ -38,8 +38,8 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md
$scope.invocationResponse = response.data;
$scope.invocationStatus = response.status;
}).catch(function(error1) {
$scope.invocationResponse = error1;
$scope.invocationStatus = null;
$scope.invocationResponse = error1.statusText + "\n" + error1.data;
$scope.invocationStatus = error1.status;
});
};