-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[HttpKernel] fix handling of nested Error instances #27662
Conversation
xabbuh
commented
Jun 20, 2018
•
edited
Loading
edited
Q | A |
---|---|
Branch? | 4.1 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #27613 |
License | MIT |
Doc PR |
This can happen when the exception controller is registered as a private service and was removed (now that we catch every |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "if" should be replaced by a ternary operator to select Exception or Error, to allow changing the previous of errors, isn't it?
Yes, I was under the false impression that the |
We could also merge this into 4.0 to account for the not so likely case that an |
Even 3.4 actually, but the check needs to be for Exception then, not Error, to account for polyfills. |
indeed, done |
Thank you @xabbuh. |
This PR was merged into the 3.4 branch. Discussion ---------- [HttpKernel] fix handling of nested Error instances | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27613 | License | MIT | Doc PR | Commits ------- a6696d0 fix handling of nested Error instances