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

[bgen] Remove useless catch/(re)throw. #18467

Merged
merged 1 commit into from Jun 20, 2023

Commits on Jun 20, 2023

  1. [bgen] Remove useless catch/(re)throw.

    There's no purpose to catching an exception just to throw it, so remove the
    entire try/catch handler.
    
    Fixes this compiler warning:
    
        src/bgen/Generator.cs(1284,4): warning CA2200: Re-throwing caught exception changes stack information
    rolfbjarne committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    981bf3c View commit details
    Browse the repository at this point in the history