FriendsOfSymfony/FOSRestBundle — pull request #891 by EmmanuelVella (2014-10-24 15:22:41+00:00)
Title: Handle StopFormatListenerException in ExceptionController

When using the ``{ path: ^/, stop: true }`` rule and the ``FOS\RestBundle\Controller\ExceptionController``, a ``StopFormatListenerException`` is thrown and uncaught on (at least) not found (404) pages.

My solution is maybe not the best as i duplicate the original twig action. Maybe we could extend the original twig controller ?