diff --git a/project/src/controller/FrontController.php b/project/src/controller/FrontController.php index a11dde2..d5aa99c 100755 --- a/project/src/controller/FrontController.php +++ b/project/src/controller/FrontController.php @@ -79,7 +79,7 @@ class FrontController echo $twig->render('erreur.html', ['dVueErreur' => $dVueErreur]); echo $twig->render('login.html'); } catch (Exception $e2) { - $dVueErreur[] = 'Erreur inattendue !'.$e2->getMessage(); + $dVueErreur[] = 'Erreur inattendue !'; echo $twig->render('erreur.html', ['dVueErreur' => $dVueErreur]); }