From: Raphaƫl Gertz Date: Wed, 24 Feb 2021 00:38:08 +0000 (+0100) Subject: Update error display X-Git-Tag: 0.2.1~19 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/34d25e6b64f36b61692ec081744de1818efef4b2 Update error display --- diff --git a/Resources/views/error.html.twig b/Resources/views/error.html.twig index 8dd4a69..ed95220 100644 --- a/Resources/views/error.html.twig +++ b/Resources/views/error.html.twig @@ -1,8 +1,9 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
+

{{ section }}

-

{% if message %}{{ message }}{% else %}{% trans %}Error{% endtrans %}{% endif %}

- {% if app.environment == 'dev' and trace is defined %}
{{ trace }}
{% endif %} +

{% if message %}{{ message }}{% else %}{% trans %}Error{% endtrans %}{% endif %}

+ {# {% if app.environment == 'dev' and trace is defined %}
{{ trace }}
{% endif %} #} + {% if trace is defined and trace %}
{{ trace }}
{% endif %}
{% endblock %}