Skip to content

Commit dd22258

Browse files
committed
minor #17001 [HttpKernel] Document the catch_all_throwables option (javiereguiluz)
This PR was merged into the 6.2 branch. Discussion ---------- [HttpKernel] Document the catch_all_throwables option Fixes #16917. Commits ------- 2c57a5b [HttpKernel] Document the catch_all_throwables option
2 parents f6ebf75 + 2c57a5b commit dd22258

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

reference/configuration/framework.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ will invalidate all signed URIs and Remember Me cookies. That's why, after
5353
changing this value, you should regenerate the application cache and log
5454
out all the application users.
5555

56+
catch_all_throwables
57+
~~~~~~~~~~~~~~~~~~~~
58+
59+
**type**: ``boolean`` **default**: ``false``
60+
61+
If set to ``true``, the Symfony kernel will catch all ``\Throwable`` exceptions
62+
thrown by the application and will turn them into HTTP reponses.
63+
64+
Starting from Symfony 7.0, the default value of this option will be ``true``.
65+
66+
.. versionadded:: 6.2
67+
68+
The ``catch_all_throwables`` option was introduced in Symfony 6.2.
69+
5670
.. _configuration-framework-http_cache:
5771

5872
http_cache

0 commit comments

Comments
 (0)