-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information
1 parent
4b55815
commit feb4aaf
Showing
3 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters