-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Catching a StackOverflowException #8947
Comments
To date I have not found a way to handle a 📝 The expectation is a |
Right, StackOverflowException is non cachable. Related to #4113 |
But there should have any way to prevent app crash for StackOverflowException because for that full web app crashes. Which is an unexpected behavior. |
If I have this simple app:
The exception handler itself is never called, instead the app crashes and I get this error:
The same happens if I use the
StackOverflowException
in thecatch
instead of justException
.Is there anyway to catch a StackOverflow exception and not have the app crash?
The text was updated successfully, but these errors were encountered: