Skip to content

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

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
Jimbolino:9.x
Jan 3, 2023
Merged

[9.x] Exception Handler prepareResponse add previous Exception#45499
taylorotwell merged 1 commit into
laravel:9.xfrom
Jimbolino:9.x

Conversation

@Jimbolino

Copy link
Copy Markdown
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