Fabien Potencier преди 15 години
родител
ревизия
8c47b8a41d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);