Hello !

I'm trying to enable errorhandler on Symfony2
so in config.yml

framework:
    charset:       UTF-8
    error_handler: true

I simulate a parse error but the "error" is not transformed to an Exception.

in the framework ext we have :

if (isset($config['error_handler'])) {
            if (false === $config['error_handler']) {
               
 $container->getDefinition('error_handler')->setMethodCalls(array());
            } else {
               
 $container->getDefinition('error_handler')->addMethodCall('register', 
array());
                $container->setParameter('error_handler.level', 
$config['error_handler']);
            }
        }

but i think ErrorHandler::register is never called

Anyone has an idea ?

PS : i have xdebug enabled

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to