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

[runtime] Handle fatal managed exceptions a bit better in the runtime. #15029

Merged
merged 1 commit into from
May 16, 2022

Commits on May 13, 2022

  1. [runtime] Handle fatal managed exceptions a bit better in the runtime.

    Handle managed exceptions a bit better when we know there won't be any other
    managed frames further up the stack (such as in the main method). In this
    case, there's no use in trying to convert the managed exception into an
    Objective-C exception, because we already know the process will be terminated.
    
    Instead just print the exception to stderr, and abort immediately.
    
    This means we'll actually get some useful information printed to stderr.
    rolfbjarne committed May 13, 2022
    Configuration menu
    Copy the full SHA
    feb4aaf View commit details
    Browse the repository at this point in the history