From 00ae320f83e7b198c8d29a56a3789353ffd9719f Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Wed, 13 Apr 2016 20:50:35 +0200 Subject: [PATCH] [HttpKernel] Fix wrong number of arguments in call of ExceptionListener::logException() Remove unexpected argument from ExceptionListener::logException() method call because the signature has changed in 22f4807 --- .../Component/HttpKernel/EventListener/ExceptionListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php b/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php index fc2efed86b..1a90f1ebe7 100644 --- a/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php +++ b/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php @@ -49,7 +49,7 @@ class ExceptionListener implements EventSubscriberInterface try { $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false); } catch (\Exception $e) { - $this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine()), false); + $this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', get_class($e), $e->getMessage(), $e->getFile(), $e->getLine())); $wrapper = $e;