From 896e550143e5d7c88b6549961330a3295d81d39f Mon Sep 17 00:00:00 2001 From: Fernando Barbosa Date: Thu, 28 Nov 2024 07:08:48 -0300 Subject: [PATCH] Increase log level when failing to fetch YAML (#4107) Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> --- server/pipeline/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/pipeline/create.go b/server/pipeline/create.go index 52eba4d79..90983d8d0 100644 --- a/server/pipeline/create.go +++ b/server/pipeline/create.go @@ -87,7 +87,7 @@ func Create(ctx context.Context, _store store.Store, repo *model.Repo, pipeline return nil, ErrFiltered } else if configFetchErr != nil { - log.Debug().Str("repo", repo.FullName).Err(configFetchErr).Msgf("error while fetching config '%s' in '%s' with user: '%s'", repo.Config, pipeline.Ref, repoUser.Login) + log.Error().Str("repo", repo.FullName).Err(configFetchErr).Msgf("error while fetching config '%s' in '%s' with user: '%s'", repo.Config, pipeline.Ref, repoUser.Login) return nil, updatePipelineWithErr(ctx, _forge, _store, pipeline, repo, repoUser, fmt.Errorf("could not load config from forge: %w", err)) }