Forráskód Böngészése

[HttpKernel] reset handling if subject::handle throws an exception, otherwise it wouldnt be able to handle furthermore

Robert Schönthal 14 éve
szülő
commit
415b456b4e

+ 3 - 0
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;
         }