From 69c1f33cbf28068e2f1a8b8e5b86b4a75da9396a Mon Sep 17 00:00:00 2001 From: Sergey Smolnikov Date: Mon, 8 Jul 2024 16:22:45 +0200 Subject: [PATCH] Corrected error message --- pkg/pipeline/prepare_pipelines.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipeline/prepare_pipelines.go b/pkg/pipeline/prepare_pipelines.go index 04e546a..ae0b9b2 100644 --- a/pkg/pipeline/prepare_pipelines.go +++ b/pkg/pipeline/prepare_pipelines.go @@ -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