Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: wrap all errors where possible #2023

Open
dtrudg opened this issue Aug 11, 2023 · 0 comments
Open

chore: wrap all errors where possible #2023

dtrudg opened this issue Aug 11, 2023 · 0 comments
Labels

Comments

@dtrudg
Copy link
Member

dtrudg commented Aug 11, 2023

Type of issue

technical debt

Description of issue

We have quite a lot of code, written pre support for %w, that doesn't wrap errors in fmt.Errorf statements. Our newer code generally does use %w.

Switch from %s / %v to %w for errors where it makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant