mirror of
https://github.com/actions/deploy-pages.git
synced 2026-03-30 10:04:53 +00:00
Merge pull request #6 from actions/display-deployment-error-message
change display error message for deployment
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -7102,6 +7102,9 @@ class Deployment {
|
|||||||
core.info(JSON.stringify(response.data))
|
core.info(JSON.stringify(response.data))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
||||||
|
if (error.response && error.response.data) {
|
||||||
|
core.info(error.response.data)
|
||||||
|
}
|
||||||
core.setFailed(error)
|
core.setFailed(error)
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -7102,6 +7102,9 @@ class Deployment {
|
|||||||
core.info(JSON.stringify(response.data))
|
core.info(JSON.stringify(response.data))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
||||||
|
if (error.response && error.response.data) {
|
||||||
|
core.info(error.response.data)
|
||||||
|
}
|
||||||
core.setFailed(error)
|
core.setFailed(error)
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -58,6 +58,9 @@ class Deployment {
|
|||||||
core.info(JSON.stringify(response.data))
|
core.info(JSON.stringify(response.data))
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
core.info(`Failed to create deployment for ${this.buildVersion}.`)
|
||||||
|
if (error.response && error.response.data) {
|
||||||
|
core.info(error.response.data)
|
||||||
|
}
|
||||||
core.setFailed(error)
|
core.setFailed(error)
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user