소스 검색

fixed typo

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