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 descriptive message for unexpected DSL exceptions #913

Merged
merged 1 commit into from Apr 29, 2022

Commits on Apr 29, 2022

  1. Add descriptive message for unexpected DSL exceptions

    Currently, when a DSL compiler raises an error while running a `decorate`
    operation, it is not very obvious which compiler failed and during the
    processing of which constant. The failing DSL compiler is kind of obvious
    if one looks at the backtrace, but the constant that it is failing on
    is very hard to understand if one is not running DSL generation in verbose
    mode.
    
    This PR handles unexpected exceptions, shows a friendly error message for
    them and re-raises the exception to keep the current behaviour.
    paracycle committed Apr 29, 2022
    Copy the full SHA
    58965e4 View commit details
    Browse the repository at this point in the history