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

[11.x] Fix handling exceptions thrown in eval()'d code #53204

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

jlabedo
Copy link
Contributor

@jlabedo jlabedo commented Oct 17, 2024

This fix issue #53203

Before

If an exception is thrown from an eval()'d code, the error handler throws and shows a strange error screen, hiding the real one:
Capture d’écran 2024-10-17 à 22 21 31

After

After this fix it shows:
Capture d’écran 2024-10-18 à 09 10 34

@jlabedo jlabedo force-pushed the fix-handling-errors-from-eval-code branch from 3d8bf20 to 303e542 Compare October 17, 2024 20:41
@jlabedo jlabedo force-pushed the fix-handling-errors-from-eval-code branch from 303e542 to d49d901 Compare October 17, 2024 20:43
@taylorotwell
Copy link
Member

What is the behavior after this fix?

@jlabedo
Copy link
Contributor Author

jlabedo commented Oct 18, 2024

Hello @taylorotwell, here is the error screen after this fix:

Capture d’écran 2024-10-18 à 09 10 34

@taylorotwell taylorotwell merged commit 5a9886c into laravel:11.x Oct 18, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants