From c4f615e711c32b80fe98942da36bb00690c9db2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 12 Jun 2025 22:05:57 +0200 Subject: [PATCH] Hide sensitive information in production --- templates/bundles/TwigBundle/Exception/error.html.twig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/bundles/TwigBundle/Exception/error.html.twig b/templates/bundles/TwigBundle/Exception/error.html.twig index bbda97737..8b3cea544 100644 --- a/templates/bundles/TwigBundle/Exception/error.html.twig +++ b/templates/bundles/TwigBundle/Exception/error.html.twig @@ -15,10 +15,6 @@
{{ status_code }}: {{ status_text }}
-

{{ exception.message }}

- {# {% for trace in exception.trace %} -

{{ trace.class }} - {{ trace.type }} - {{ trace.file }} - {{ trace.line }}

- {% endfor %} #}