Skip to content

Commit

Permalink
Corrected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
satr committed Jul 8, 2024
1 parent ac7870d commit 69c1f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pipeline/prepare_pipelines.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (ctx *pipelineContext) preparePipelinesJob() (*model.PrepareBuildContext, e
err = git.ResetGitHead(ctx.env.GetGitRepositoryWorkspace(), gitHash)
if err != nil {
if ctx.env.GetRadixPipelineType() == v1.Promote {
log.Error().Msgf("Failed to find Git CommitID %s. Ignore the error for the Promote pipeline: %v", gitHash, err)
log.Error().Msgf("Failed to find Git CommitID %s. Error: %v. Ignore the error for the Promote pipeline. If Sub-pipeline exists it is skipped.", gitHash, err)
return &buildContext, nil
}
return nil, err
Expand Down

0 comments on commit 69c1f33

Please sign in to comment.