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

Ensure that errors have as much context as possible #15

Open
hgoldstein95 opened this issue Aug 22, 2019 · 0 comments
Open

Ensure that errors have as much context as possible #15

hgoldstein95 opened this issue Aug 22, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@hgoldstein95
Copy link
Collaborator

Go through and add relevant variables and parameters as context to errors, especially in commands other than serve.

The basic procedure is to find places where we use

ErrorKind::SomeKindOfError

and include variables as attachments, e.g.

ErrorKind::SomeKindOfError.attach("varname", var_value)

See error.rs for more information, and reach out to @hgoldstein95 if you need help.

@hgoldstein95 hgoldstein95 added good first issue Good for newcomers documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant