Skip to content

Ensure that errors have as much context as possible #15

@hgoldstein95

Description

@hgoldstein95

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions