mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
change display error message for deployment
This commit is contained in:
@@ -58,6 +58,9 @@ class Deployment {
|
||||
core.info(JSON.stringify(response.data))
|
||||
} catch (error) {
|
||||
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
||||
if (error.response && error.response.data) {
|
||||
core.info(error.response.data)
|
||||
}
|
||||
core.setFailed(error)
|
||||
throw error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user