display api error message

This commit is contained in:
yimysty
2021-12-20 10:13:46 -08:00
parent cc787ad323
commit 15f8f53f4d
5 changed files with 11 additions and 2 deletions

View File

@@ -126,6 +126,9 @@ class Deployment {
}
} catch (error) {
core.setFailed(error)
if (error.response && error.response.data) {
core.info(error.response.data)
}
}
}
}