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

feat: Add backtraces to errors #2827

Merged
merged 1 commit into from Oct 7, 2021
Merged

feat: Add backtraces to errors #2827

merged 1 commit into from Oct 7, 2021

Commits on Oct 7, 2021

  1. feat: Add backtraces to errors

    This is gated behind the `debug` feature flag so only explicit debugging
    cases pay the build time and runtime costs.
    
    The builder API's stack traces are generally not too interesting.  Where
    this really helps is with `clap_derive`.  We currently panic on
    unexpected conditions which at least gives us a backtrace.  We'd like to
    turn these into errors but to do so would lose those debuggin
    backtraces, which is where this comes in.
    
    This is a part of clap-rs#2255
    epage committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    7b5a4c9 View commit details
    Browse the repository at this point in the history