Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Debug] Fix fatal error when changing ErrorHandler loggers if an exception is buffered #21311

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

Merged
merged 1 commit into from
Jan 16, 2017

Conversation

skalpa
Copy link
Contributor

@skalpa skalpa commented Jan 16, 2017

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

Prevents a fatal error when setting a new logger if the bootstrapping logger buffered an exception that does not extend ErrorException.

@nicolas-grekas The faulty behaviour was added by 8f24549, so this PR is against 3.2 and not 2.8.

@nicolas-grekas
Copy link
Member

👍

@nicolas-grekas nicolas-grekas changed the title [Debug] Fix fatal error when changing ErrorHandler loggers if an exce… [Debug] Fix fatal error when changing ErrorHandler loggers if an exception is buffered Jan 16, 2017
@nicolas-grekas
Copy link
Member

Good catch, thanks @skalpa.

@nicolas-grekas nicolas-grekas merged commit a6527f8 into symfony:3.2 Jan 16, 2017
nicolas-grekas added a commit that referenced this pull request Jan 16, 2017
… if an exception is buffered (skalpa)

This PR was merged into the 3.2 branch.

Discussion
----------

[Debug] Fix fatal error when changing ErrorHandler loggers if an exception is buffered

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

Prevents a fatal error when setting a new logger if the bootstrapping logger buffered an exception that does not extend `ErrorException`.

@nicolas-grekas The faulty behaviour was added by 8f24549, so this PR is against 3.2 and not 2.8.

Commits
-------

a6527f8 [Debug] Fix fatal error when changing ErrorHandler loggers if an exception is buffered
@fabpot fabpot mentioned this pull request Feb 6, 2017
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.

3 participants