Browse Source

fixed typo

Fabien Potencier 15 years ago
parent
commit
8c47b8a41d
1 changed files with 1 additions and 1 deletions
  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
             // 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);
         $event->setReturnValue($response);