argo-cd icon indicating copy to clipboard operation
argo-cd copied to clipboard

Wrap error objects to include context

Open crenshaw-dev opened this issue 1 year ago • 0 comments

Summary

There are a lot of places in source where we return err without adding context with fmt.Errorf().

Motivation

Error messages without wrapping context are difficult to debug.

Proposal

Find places where we return unwrapped errors and add context.

This is a top-level issue and probably won't be solved with any single PR.

crenshaw-dev avatar Sep 14 '22 20:09 crenshaw-dev