diff --git a/pkg/server/hook_handler.go b/pkg/server/hook_handler.go index 0da4dbb1..077a47ac 100644 --- a/pkg/server/hook_handler.go +++ b/pkg/server/hook_handler.go @@ -165,6 +165,7 @@ func (h *VCSHookHandler) processCheckEvent(ctx context.Context, repo *repo.Repo) err = cEvent.MergeIntoTarget(ctx) if err != nil { // TODO: Cancel if gitlab etc + log.Error().Err(err).Msg("failed to merge into target") return } @@ -172,6 +173,7 @@ func (h *VCSHookHandler) processCheckEvent(ctx context.Context, repo *repo.Repo) _, err = cEvent.GetListOfChangedFiles(ctx) if err != nil { // TODO: Cancel if gitlab etc + log.Error().Err(err).Msg("failed to get list of changed files") return } @@ -180,6 +182,7 @@ func (h *VCSHookHandler) processCheckEvent(ctx context.Context, repo *repo.Repo) if err != nil { // TODO: Cancel if gitlab etc //mEvent.CancelEvent(ctx, err, "Generate List of Affected Apps") + log.Error().Err(err).Msg("failed to generate a list of affected apps") return }