Skip to content

Commit d2370ed

Browse files
chalasrstof
authored andcommitted
[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
1 parent cbfda0e commit d2370ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventListener/ExceptionListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function onKernelException(GetResponseForExceptionEvent $event)
4949
try {
5050
$response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
5151
} catch (\Exception $e) {
52-
$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);
52+
$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()));
5353

5454
$wrapper = $e;
5555

0 commit comments

Comments
 (0)