mirror of
https://github.com/openfaas/faas.git
synced 2025-06-12 18:26:49 +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.invocationResponse = response.data;
|
||||||
$scope.invocationStatus = response.status;
|
$scope.invocationStatus = response.status;
|
||||||
}).catch(function(error1) {
|
}).catch(function(error1) {
|
||||||
$scope.invocationResponse = error1;
|
$scope.invocationResponse = error1.statusText + "\n" + error1.data;
|
||||||
$scope.invocationStatus = null;
|
$scope.invocationStatus = error1.status;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user