We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ff795b commit 5ab929bCopy full SHA for 5ab929b
src/internal/deployment.js
@@ -99,6 +99,9 @@ class Deployment {
99
// build customized error message based on server response
100
if (error.response) {
101
let errorMessage = `Failed to create deployment (status: ${error.status}) with build version ${this.buildVersion}.`
102
+ if (error.response.headers['x-github-request-id']) {
103
+ errorMessage += ` Request ID ${error.response.headers['x-github-request-id']}`
104
+ }
105
if (error.status === 400) {
106
errorMessage += ` Responded with: ${error.message}`
107
} else if (error.status === 403) {
0 commit comments