From 457242dff534bf4a4264dd916e57d0b7484f1866 Mon Sep 17 00:00:00 2001 From: Ash-exp Date: Mon, 25 Sep 2023 12:27:02 +0530 Subject: [PATCH] handled panic on CD pipeline save --- pkg/app/AppService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/AppService.go b/pkg/app/AppService.go index 10b2481dc02..df657f44cfd 100644 --- a/pkg/app/AppService.go +++ b/pkg/app/AppService.go @@ -1698,7 +1698,7 @@ func (impl *AppServiceImpl) CreateGitopsRepo(app *app.App, userId int32) (gitops gitOpsRepoName := impl.chartTemplateService.GetGitOpsRepoName(app.AppName) chartGitAttr, err = impl.chartTemplateService.CreateGitRepositoryForApp(gitOpsRepoName, chart.ReferenceTemplate, chart.ChartVersion, userId) if err != nil { - impl.logger.Errorw("error in pushing chart to git ", "path", chartGitAttr.ChartLocation, "err", err) + impl.logger.Errorw("error in pushing chart to git ", "gitOpsRepoName", gitOpsRepoName, "err", err) return "", nil, err } return gitOpsRepoName, chartGitAttr, nil