Skip to content

Commit 80fad6d

Browse files
committed
minor #13568 replace ExceptionListener by EventListener (zairigimad)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- replace ExceptionListener by EventListener Deprecated ExceptionListener is replaced by EventListener in Symfony 5.0 Commits ------- 269379f replace ExceptionListener by EventListener
2 parents fbb9a67 + 269379f commit 80fad6d

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)