Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/pipeline/BuildPipelineConfigService.go
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ func (impl *CiPipelineConfigServiceImpl) GetCiPipelineById(pipelineId int) (ciPi
if err != nil && !util.IsErrNoRows(err) {
impl.logger.Errorw("error in fetching ci pipeline", "pipelineId", pipelineId, "err", err)
return nil, err
} else if util.IsErrNoRows(err) {
return nil, util.NewApiError(http.StatusNotFound, "ci pipeline not found", "ci pipeline not found ")
}
dockerArgs := make(map[string]string)
if len(pipeline.DockerArgs) > 0 {
Expand Down
Loading