diff --git a/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php b/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php index 4002c398ca..0f0d0a6c42 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php +++ b/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);