Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 993f978

Browse files
curry684javiereguiluz
authored andcommitted
Events are dispatched, not thrown
1 parent ea2b3b0 commit 993f978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Handling Exceptions: the ``kernel.exception`` Event
509509
:ref:`Kernel Events Information Table <component-http-kernel-event-table>`
510510

511511
If an exception is thrown at any point inside ``HttpKernel::handle()``, another
512-
event - ``kernel.exception`` is thrown. Internally, the body of the ``handle()``
512+
event - ``kernel.exception`` is dispatched. Internally, the body of the ``handle()``
513513
method is wrapped in a try-catch block. When any exception is thrown, the
514514
``kernel.exception`` event is dispatched so that your system can somehow respond
515515
to the exception.

0 commit comments

Comments
 (0)