• Fabien Potencier's avatar
    bug #1354 Adding a flag to disable the Monolog error handler (skalpa) · cb2f3617
    Fabien Potencier authored
    This PR was merged into the 2.0.x-dev branch.
    
    Discussion
    ----------
    
    Adding a flag to disable the Monolog error handler
    
    The monolog error handler can now be disabled by setting the value of the new `monolog.use_error_handler` parameter to false (since it was added in  a53ce590 it was always enabled).
    
    The error handler is disabled by default when the application `debug` parameter is set to true, to ensure it won't silence exceptions and/or errors.
    
    Without the flag, an uncaught exception thrown during boot on `master` will just result in a white page, even when using `debug` and `error_reporting` (because the error handler calls `exit` after logging exceptions).
    
    Commits
    -------
    
    8ecd0f01 Adding the monolog.use_error_handler parameter to configure whether the monolog ErrorHandler should be registered.
    cb2f3617
Name
Last commit
Last update
..
asset.rst Loading commit data...
csrf.rst Loading commit data...
doctrine.rst Loading commit data...
form.rst Loading commit data...
http_cache.rst Loading commit data...
http_fragment.rst Loading commit data...
index.rst Loading commit data...
locale.rst Loading commit data...
monolog.rst Loading commit data...
remember_me.rst Loading commit data...
security.rst Loading commit data...
serializer.rst Loading commit data...
service_controller.rst Loading commit data...
session.rst Loading commit data...
swiftmailer.rst Loading commit data...
translation.rst Loading commit data...
twig.rst Loading commit data...
validator.rst Loading commit data...
var_dumper.rst Loading commit data...