Skip to content

Commit ec8faeb

Browse files
Add logs in promote failure
1 parent 99316d3 commit ec8faeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,7 @@ gulp.task("promote", async () => {
756756
},
757757
).then((response) => {
758758
if (response.statusCode !== 200) {
759+
log(`Promote failed: status=${response.statusCode}, body=${JSON.stringify(response.body)}`);
759760
throw new Error(`Failed to promote ${name} to ${process.env.BUILD_NUMBER}`);
760761
}
761762
}),

0 commit comments

Comments
 (0)