8000
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 00e08be commit 1c92307Copy full SHA for 1c92307
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/exception.html.twig
@@ -1,9 +1,11 @@
1
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
2
3
{% block head %}
4
- <style type="text/css">
5
- {{ render(path('_profiler_exception_css', { 'token': token })) }}
6
- </style>
+ {% if collector.hasexception %}
+ <style type="text/css">
+ {{ render(path('_profiler_exception_css', { 'token': token })) }}
7
+ </style>
8
+ {% endif %}
9
{{ parent() }}
10
{% endblock %}
11
0 commit comments