8000 bug #48046 [WebProfilerBundle] Remove redundant code from logger temp… · symfony/symfony@68e3261 · GitHub
[go: up one dir, main page]

Skip to content

Commit 68e3261

Browse files
committed
bug #48046 [WebProfilerBundle] Remove redundant code from logger template (HypeMC)
This PR was merged into the 5.4 branch. Discussion ---------- [WebProfilerBundle] Remove redundant code from logger template | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Introduced in #42195, the log trace gets unnecessarily rendered twice: ![image](https://user-images.githubusercontent.com/2445045/198841019-4fce7dce-f32f-42f2-9f55-829fafa0d558.png) Commits ------- 62237be [WebProfilerBundle] Remove redundant code from logger template
2 parents a54a08e + 62237be commit 68e3261

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/logger.html.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@
253253
{% if has_trace %}
254254
{% set trace_id = 'trace-' ~ category ~ '-' ~ log_index %}
255255
<span><button type="button" class="btn btn-link text-small sf-toggle" data-toggle-selector="#{{ trace_id }}" data-toggle-alt-content="Hide trace">Show trace</button></span>
256-
257-
<div id="{{ trace_id }}" class="context sf-toggle-content sf-toggle-hidden">
258-
{{ profiler_dump(log.context.exception.trace, maxDepth=1) }}
259-
</div>
260256
{% endif %}
261257

262258
{% if has_context %}

0 commit comments

Comments
 (0)
0