Skip to content

Commit

Permalink
chore(hydrator): improve error message (argoproj#21987)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev authored Feb 24, 2025
1 parent e18b4d7 commit be293fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/hydrator/hydrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (h *Hydrator) hydrate(logCtx *log.Entry, apps []*appv1.Application) (string
// TODO: enable signature verification
objs, resp, err := h.dependencies.GetRepoObjs(app, drySource, targetRevision, project)
if err != nil {
return "", "", fmt.Errorf("failed to get repo objects: %w", err)
return "", "", fmt.Errorf("failed to get repo objects for app %q: %w", app.QualifiedName(), err)
}

// This should be the DRY SHA. We set it here so that after processing the first app, all apps are hydrated
Expand Down

0 comments on commit be293fe

Please sign in to comment.