argo-cd
argo-cd copied to clipboard
Wrap error objects to include context
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.