Skip to content

Commit

Permalink
🔨 include status in buildkite build failure error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Sep 22, 2023
1 parent d9c4039 commit aa8a886
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion baker/BuildkiteTrigger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export class BuildkiteTrigger {
if (status === "passed") {
return
} else {
throw new Error("Build failed! See Buildkite for details.")
throw new Error(
`Build failed with status "${status}". See Buildkite for details.`
)
}
}

Expand Down

0 comments on commit aa8a886

Please sign in to comment.