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

Improve errors when fetching resource IDs #181

Open
xescugc opened this issue Apr 27, 2021 · 0 comments
Open

Improve errors when fetching resource IDs #181

xescugc opened this issue Apr 27, 2021 · 0 comments
Labels
Feature roadmap feature

Comments

@xescugc
Copy link
Member

xescugc commented Apr 27, 2021

Abstract

From #176 (comment) we see that the error gives enough context to know more or less it fails, but for complex resource fetching we do not know 100% where it failed on the function

Proposal

Add more context to the errors, wrapping them instead of returning them so then we have more context.

Implementation

As we still have #93 what we should use is the errors.Wrapf and add context this way.

Open issues (if applicable)

@xescugc xescugc added the Feature roadmap feature label Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature roadmap feature
Projects
None yet
Development

No branches or pull requests

1 participant