[WebProfilerBundle] fixed exception panel when no exception is thrown
This commit is contained in:
parent
00e08be05b
commit
1c92307e4c
@ -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 %}
|
||||
|
||||
|
Reference in New Issue
Block a user