Skip to content

Commit 99a8323

Browse files
committed
Minor tweaks
1 parent 46e35b5 commit 99a8323

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

components/debug.rst

+4-8
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ tools.
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

4443
Enabling 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

6258
Enabling the Exception Handler
6359
------------------------------

0 commit comments

Comments
 (0)