Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export async function run(): Promise<void> {
const errMsg =
deployCmdExec.stderr ||
`command exited ${deployCmdExec.exitCode}, but stderr had no output`;
throw new Error(`failed to execute gcloud command \`${commandString}\`: ${errMsg}`);
throw new Error(`failed to deploy: ${errMsg}, full command:\n\t${commandString}`);
}
setActionOutputs(parseDeployResponse(deployCmdExec.stdout, { tag: tag }));

Expand All @@ -333,7 +333,7 @@ export async function run(): Promise<void> {
const errMsg =
updateTrafficExec.stderr ||
`command exited ${updateTrafficExec.exitCode}, but stderr had no output`;
throw new Error(`failed to execute gcloud command \`${commandString}\`: ${errMsg}`);
throw new Error(`failed to update traffic: ${errMsg}, full command:\n\t${commandString}`);
}
setActionOutputs(parseUpdateTrafficResponse(updateTrafficExec.stdout));
}
Expand Down
Loading