Skip to content

Commit 4acabed

Browse files
authored
replace ExceptionListener by EventListener
Deprecated ExceptionListener is replaced by EventListener in Symfony 5.0
1 parent 58c189b commit 4acabed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ sent as response::
251251

252252
.. note::
253253

254-
The TwigBundle registers an :class:`Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener`
254+
The TwigBundle registers an :class:`Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener`
255255
that forwards the ``Request`` to a given controller defined by the
256256
``exception_listener.controller`` parameter.
257257

0 commit comments

Comments
 (0)