diff --git a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php index d648d63dd5688..1fd0c56c75474 100644 --- a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php @@ -123,7 +123,7 @@ protected function findTemplate(Request $request, $format, $code, $showException // default to a generic HTML exception $request->setRequestFormat('html'); - return sprintf('@Twig/Exception/%s.html.twig', $showException ? 'exception_full' : $name); + return sprintf('@Twig/Exception/%s.html.twig', $name); } // to be removed when the minimum required version of Twig is >= 3.0