diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php index 287233ce42..cab01ca29b 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php @@ -117,7 +117,7 @@ class ControllerResolver extends BaseControllerResolver $options = array_merge(array( 'path' => array(), 'query' => array(), - 'ignore_errors' => true, + 'ignore_errors' => !$this->container->getParameter('kernel.debug'), 'alt' => array(), 'standalone' => false, 'comment' => '',