Skip to content

Commit a8cbd5c

Browse files
committed
fix the wrapped error
1 parent 6a8b19e commit a8cbd5c

File tree

1 file changed

+1
-1
lines changed
  • packages/orchestrator/internal/template/build/phases/finalize

1 file changed

+1
-1
lines changed

packages/orchestrator/internal/template/build/phases/finalize/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (ppb *PostProcessingBuilder) postProcessingFn(
260260
return sandboxtools.CommandMetadata{}, &phases.PhaseBuildError{
261261
Phase: string(metrics.PhaseFinalize),
262262
Step: "finalize",
263-
Err: fmt.Errorf("waiting for start command failed: %w", err),
263+
Err: fmt.Errorf("waiting for start command failed: %w", commandsCtx.Err()),
264264
}
265265
case <-startCmdConfirm:
266266
}

0 commit comments

Comments
 (0)