From 415b456b4e10e58f65cd8f836c7e6de7f2a235af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=B6nthal?= Date: Sat, 5 Mar 2011 20:21:23 +0100 Subject: [PATCH] [HttpKernel] reset handling if subject::handle throws an exception, otherwise it wouldnt be able to handle furthermore --- src/Symfony/Component/HttpKernel/Debug/ExceptionListener.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Component/HttpKernel/Debug/ExceptionListener.php b/src/Symfony/Component/HttpKernel/Debug/ExceptionListener.php index e9815488df..7576c4f663 100644 --- a/src/Symfony/Component/HttpKernel/Debug/ExceptionListener.php +++ b/src/Symfony/Component/HttpKernel/Debug/ExceptionListener.php @@ -77,6 +77,9 @@ class ExceptionListener error_log($message); } + // set handling to false otherwise it wont be able to handle further more + $handling = false; + // re-throw the exception as this is a catch-all throw $exception; }