{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block head %} {% if collector.hasexception %} {% endif %} {{ parent() }} {% endblock %} {% block menu %} {{ source('@WebProfiler/Icon/exception.svg') }} Exception {% if collector.hasexception %} 1 {% endif %} {% endblock %} {% block panel %} {# these styles are needed to override some styles from Exception page, which wasn't updated yet to the new style of the Symfony Profiler #}

Exceptions

{% if not collector.hasexception %}

No exception was thrown and caught.

{% else %}
{{ render(controller('web_profiler.controller.exception_panel::body', { token: token })) }}
{% endif %} {% endblock %}