8000 [TwigBundle] Fix log message formatting in exception views by chalasr · Pull Request #22393 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[TwigBundle] Fix log message formatting in exception views #22393

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
Apr 12, 2017

Conversation

chalasr
Copy link
Member
@chalasr chalasr commented Apr 12, 2017
Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #22335
License MIT
Doc PR n/a
Before
before
After
after

@@ -21,7 +21,7 @@
{{ log.channel }}
</td>
{% endif %}
<td>{{ log.message }}</td>
<td>{{ log.message|format_log_message(log.context) }}</td>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this filter available if the profiler is disabled but debug is enabled?

Copy link
Member Author
@chalasr chalasr Apr 12, 2017

Choose a reason for hiding this comment

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

Yes it is, provided by twig bridge.

@curry684
Copy link
Contributor

Status: reviewed

@fabpot
Copy link
Member
fabpot commented Apr 12, 2017

Thank you @chalasr.

@fabpot fabpot merged commit 0f9660b into symfony:master Apr 12, 2017
fabpot added a commit that referenced this pull request Apr 12, 2017
… (chalasr)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[TwigBundle] Fix log message formatting in exception views

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22335
| License       | MIT
| Doc PR        | n/a

| __Before__      |
| ------------- |
| ![before](http://image.prntscr.com/image/984005e787ea4418a75e76d968f3af14.png)   |

| __After__        |
| ------------- |
| ![after](http://image.prntscr.com/image/608331f67030455d9bb1eaeec2bc4eb8.png)   |

Commits
-------

0f9660b Fix log message formatting in exception views
@chalasr chalasr deleted the fix-error-log-panel branch April 12, 2017 14:19
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.

4 participants
0