Bladeren bron

fixed typo

Fabien Potencier 15 jaren geleden
bovenliggende
commit
8c47b8a41d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php

+ 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);