File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 37
37
38
38
.. caution ::
39
39
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.
43
42
44
43
Enabling the Error Handler
45
44
--------------------------
@@ -53,11 +52,8 @@ fatal errors)::
53
52
54
53
ErrorHandler::register();
55
54
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.
61
57
62
58
Enabling the Exception Handler
63
59
------------------------------
You can’t perform that action at this time.
0 commit comments