diff --git a/baker/BuildkiteTrigger.ts b/baker/BuildkiteTrigger.ts index 6ba269f6805..24be01cdb9e 100644 --- a/baker/BuildkiteTrigger.ts +++ b/baker/BuildkiteTrigger.ts @@ -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.` + ) } }