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

Add a recovering decode hook #305

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 6, 2022

  1. Add a recovering decode hook

    Hooks are difficult to get 100% correct. When there is an error in the
    code using reflection, we are likely to trigger a panic. While a panic
    is helpful to the developer, an end-user has no clue where the problem
    is and they don't know what part of the configuration would need to be
    tweaked to work around the issue.
    
    The proposed recovering decode hook will turn the panic into an error,
    which is a more user-friendly way to report the error to an end user.
    vincentbernat committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    cb6f3aa View commit details
    Browse the repository at this point in the history