8000 [Profiler][Form] Fix form profiler errors profiler_dump · symfony/symfony@207fab6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 207fab6

Browse files
committed
[Profiler][Form] Fix form profiler errors profiler_dump
1 parent fef1546 commit 207fab6

File tree

1 file changed

+3
-1
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,9 @@
492492
<td>
493493
{% if error.trace %}
494494
<span class="newline">Caused by:</span>
495-
{{ profiler_dump(error.trace, maxDepth=2) }}
495+
{% for stacked in error.trace %}
496+
{{ profiler_dump(stacked) }}
497+
{% endfor %}
496498
{% else %}
497499
<em>Unknown.</em>
498500
{% endif %}

0 commit comments

Comments
 (0)
0