We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28dfe1 commit 03cd9e5Copy full SHA for 03cd9e5
src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig
@@ -54,14 +54,15 @@
54
</div>
55
56
57
- <div class="tab {{ logger is empty ? 'disabled' }}">
+ {% if logger %}
58
+ <div class="tab {{ logger.logs is empty ? 'disabled' }}">
59
<h3 class="tab-title">
60
Logs
61
{% if logger.counterrors ?? false %}<span class="badge status-error">{{ logger.counterrors }}</span>{% endif %}
62
</h3>
63
64
<div class="tab-content">
- {% if logger %}
65
+ {% if logger.logs %}
66
{{ include('@Twig/Exception/logs.html.twig', { logs: logger.logs }, with_context = false) }}
67
{% else %}
68
<div class="empty">
@@ -70,6 +71,7 @@
70
71
{% endif %}
72
73
74
+ {% endif %}
75
76
<div class="tab">
77
0 commit comments