mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
Print error message in UI portal
This commit is contained in:
parent
2700a15668
commit
5802cd11dc
4
gateway/assets/script/bootstrap.js
vendored
4
gateway/assets/script/bootstrap.js
vendored
@ -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;
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user