try output stacktrace as well

This commit is contained in:
yimysty
2022-06-28 17:35:03 -07:00
parent 358b034ef8
commit 2b0c6eaf67
6 changed files with 7 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ class Deployment {
core.info(JSON.stringify(response.data))
this.deploymentInfo = response.data
} catch (error) {
core.error(error.stack)
// build customized error message based on server response
if (error.response) {

View File

@@ -43,6 +43,7 @@ async function main() {
await deployment.create(idToken)
await deployment.check()
} catch (error) {
core.setFailed(error)
}
}