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

[Enhancement]: Standardize and enhance error handling #28891

Open
breathingdust opened this issue Jan 13, 2023 · 1 comment
Open

[Enhancement]: Standardize and enhance error handling #28891

breathingdust opened this issue Jan 13, 2023 · 1 comment
Labels
enhancement Requests to existing resources that expand the functionality or scope.

Comments

@breathingdust
Copy link
Member

breathingdust commented Jan 13, 2023

Description

Across the many resources implemented in the providers history, we have inconsistent error handling requiring too much manual interpretation of what information to include in each message. This leads to inconsistently formatted error messages, with sometimes with redundant or incomplete information which can lead to an inefficient development cycle for practitioners.

We should standardize on error message formatting and generation, automatically inserting context where possible and enhancing linters/sempgrep so that existing or new error messages found will be flagged so they could be made consistent.

Work currently being done on logging enhancements should enable this to be performed more efficiently.

References

Relates #17314.
Relates #15891.

@breathingdust breathingdust added enhancement Requests to existing resources that expand the functionality or scope. needs-triage Waiting for first response or review from a maintainer. labels Jan 13, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot removed the needs-triage Waiting for first response or review from a maintainer. label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope.
Projects
None yet
Development

No branches or pull requests

1 participant