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

[Debug][ErrorHandler] Preserve next error handler #30264

Merged
merged 1 commit into from Feb 16, 2019

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #30140
License MIT
Doc PR -

Thank you @cuchac

Getting the current error handler in the error handler itself actually works. If you try to see the content of the $currentErrorHandler var however, you will always see null. That's why I thought it was impossible. Because I did not test from end to end until today.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for having a second look.

Co-authored-by: Joe <cuchac@email.cz>
@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Feb 16, 2019
@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit a8b3434 into symfony:3.4 Feb 16, 2019
nicolas-grekas added a commit that referenced this pull request Feb 16, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

[Debug][ErrorHandler] Preserve next error handler

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30140
| License       | MIT
| Doc PR        | -

Thank you @cuchac

Getting the current error handler in the error handler itself actually works. If you try to see the content of the `$currentErrorHandler` var however, you will always see `null`. That's why I thought it was impossible. Because I did not test from end to end until today.

Commits
-------

a8b3434 [Debug][ErrorHandler] Preserve next error handler
This was referenced Mar 3, 2019
@fancyweb fancyweb deleted the preserve-next-error-handler branch August 9, 2019 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants