Fabien Potencier il y a 15 ans
Parent
commit
8c47b8a41d

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php

@@ -83,7 +83,7 @@ class ExceptionListener
             }
 
             // re-throw the exception as this is a catch-all
-            throw new \RuntimeException(sprintf('Exception thrown when handling an exception.', 0, $e));
+            throw new \RuntimeException('Exception thrown when handling an exception.', 0, $e);
         }
 
         $event->setReturnValue($response);