-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Uncaught PHP exceptions in do_blocks() #1647
Comments
Which exception is this? With what content does it occur? |
There's a |
Right, there's also |
Neither of these are reachable in our setup. Feel free to reopen this if there is a unit-testable case here but I am pretty sure there isn't. |
Looks like the current parser isn't the best solution anyway so I'm fine with closing. |
That's a separate discussion. I closed this because I don't think it's a practical problem. If that's not right, please let me know and we'll fix it. |
Gutenberg_PEG_Parser::parse()
can throw an exception which is not caught by an error handler indo_blocks()
leading to a fatal error.The text was updated successfully, but these errors were encountered: