Added extension for twig ExceptionController