From ff84fb82193aab99cda0fafc059c1854c9cbe979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 5 Oct 2022 22:55:05 +0200 Subject: [PATCH] Improved error pages --- templates/bundles/TwigBundle/Exception/error500.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/bundles/TwigBundle/Exception/error500.html.twig b/templates/bundles/TwigBundle/Exception/error500.html.twig index 8f1e4667..08a989a1 100644 --- a/templates/bundles/TwigBundle/Exception/error500.html.twig +++ b/templates/bundles/TwigBundle/Exception/error500.html.twig @@ -7,20 +7,20 @@ {% block admin_info %} {% if exception.class == "Doctrine\\DBAL\\Exception\\ConnectionException" %} - Can not connect to database. Try follwing things: + Can not connect to database.
Try follwing things:
{% elseif exception.class == "Twig\\Error\\RuntimeError" and 'manifest.json' in exception.message %} - Can not load frontend assets. Try following things: + Can not load frontend assets.
Try following things: {% elseif exception.class == "Doctrine\\DBAL\\Exception\\InvalidFieldNameException" or exception.class == "Doctrine\\DBAL\\Exception\\TableNotFoundException" %} - Invalid or not existing database schema. Try following things: + Invalid or not existing database schema.
Try following things: