File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 3737
3838.. caution ::
3939
40- Apart from the error handler, you should never enable the debug
41- tools in a production environment as they might disclose sensitive
42- information to the user.
40+ You should never enable the debug tools, except for the error handler, in a
41+ production environment as they might disclose sensitive information to the user.
4342
4443Enabling the Error Handler
4544--------------------------
@@ -53,11 +52,8 @@ fatal errors)::
5352
5453 ErrorHandler::register();
5554
56- .. note ::
57-
58- This one is fine to use in a production environment and will be
59- enabled if you use the framework bundle, so that you get better
60- logging.
55+ This error handler is enabled by default in the production environment when the
56+ application uses the FrameworkBundle because it generates better error logs.
6157
6258Enabling the Exception Handler
6359------------------------------
You can’t perform that action at this time.
0 commit comments