Skip to content

Commit

Permalink
handled panic on CD pipeline save
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-exp committed Sep 25, 2023
1 parent 6e1463b commit 457242d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/AppService.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 457242d

Please sign in to comment.