Skip to content

Provide a way to revert the original z.enum behavior – print received value #5404

@punkpeye

Description

@punkpeye

There are a few issues that were opened about this:

But the current design has basically made z.enum unusable. There is no easy to debug/log meaningful errors in Sentry.

The proposed workaround only allows to set Error reporting per specific enum, e.g. #4339 (comment). This would require updating the entire codebase to use custom reporter.

My feature request is to add a global option that would allow to configure whether to include received value in the errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions