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

[9.x] Exception Handler prepareResponse add previous Exception #45499

Merged
merged 1 commit into from
Jan 3, 2023
Merged

[9.x] Exception Handler prepareResponse add previous Exception #45499

merged 1 commit into from
Jan 3, 2023

Conversation

Jimbolino
Copy link
Contributor

The Exception Handler sometimes needs to convert a plain Exception to an HttpException.

  • In the prepareException function the previous exception is always added to the new one
  • In the prepareResponse function the previous exception is lost

@taylorotwell taylorotwell merged commit e2e4c0b into laravel:9.x Jan 3, 2023
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