[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
This commit is contained in:
Robin Chalas 2016-04-13 20:50:35 +02:00 committed by Christophe Coevoet
parent da357d8424
commit 00ae320f83
1 changed files with 1 additions and 1 deletions

View File

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