[WebProfilerBundle] fixed exception panel when no exception is thrown

This commit is contained in:
Fabien Potencier 2012-12-16 18:18:51 +01:00
parent 00e08be05b
commit 1c92307e4c

View File

@ -1,9 +1,11 @@
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block head %}
<style type="text/css">
{{ render(path('_profiler_exception_css', { 'token': token })) }}
</style>
{% if collector.hasexception %}
<style type="text/css">
{{ render(path('_profiler_exception_css', { 'token': token })) }}
</style>
{% endif %}
{{ parent() }}
{% endblock %}