From 993f9781e8a8e8e3c2ae35d0f6c4038498cb2aa4 Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Mon, 31 Oct 2022 20:05:03 +0100 Subject: [PATCH] Events are dispatched, not thrown --- components/http_kernel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/http_kernel.rst b/components/http_kernel.rst index 0bdb8c24b2f..06d2cea6a25 100644 --- a/components/http_kernel.rst +++ b/components/http_kernel.rst @@ -509,7 +509,7 @@ Handling Exceptions: the ``kernel.exception`` Event :ref:`Kernel Events Information Table ` If an exception is thrown at any point inside ``HttpKernel::handle()``, another -event - ``kernel.exception`` is thrown. Internally, the body of the ``handle()`` +event - ``kernel.exception`` is dispatched. Internally, the body of the ``handle()`` method is wrapped in a try-catch block. When any exception is thrown, the ``kernel.exception`` event is dispatched so that your system can somehow respond to the exception.