[FrameworkBundle] changed the default value of ignore_errors according to the current debug value
This commit is contained in:
parent
ec8500bd64
commit
3c42e0b6ce
@ -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' => '',
|
||||
|
Reference in New Issue
Block a user