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] Wrap call to ->log in a try catch block #21064

Merged
merged 1 commit into from Dec 28, 2016

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Dec 27, 2016

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

If something goes wrong in the logger, the application ends up with a blank page. Let's display the original exception.

If something goes wrong in the logger, the application ends up
with a blank page. Let's display the original exception.
@lyrixx lyrixx changed the title Debug log [Debug] Wrap call to ->log in a try catch block Dec 27, 2016
@nicolas-grekas
Copy link
Member

👍

@nicolas-grekas
Copy link
Member

Thank you @lyrixx.

@nicolas-grekas nicolas-grekas merged commit 18dfef1 into symfony:2.7 Dec 28, 2016
nicolas-grekas added a commit that referenced this pull request Dec 28, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[Debug] Wrap call to ->log in a try catch block

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

---

If something goes wrong in the logger, the application ends up with a blank page. Let's display the original exception.

Commits
-------

18dfef1 [Debug] Wrap call to ->log in a try catch block
@lyrixx lyrixx deleted the debug-log branch December 28, 2016 08:29
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