Skip to content

Commit 6467b24

Browse files
committed
minor symfony#18534 [HttpKernel] Fix wrong number of arguments in call of ExceptionListener::logException() (chalasr)
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes symfony#18534). Discussion ---------- [HttpKernel] Fix wrong number of arguments in call of ExceptionListener::logException() | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#18527 | License | MIT | Doc PR | n/a The `$original` argument has been removed from the method signature in [22f4807](symfony@22f4807). Commits ------- 00ae320 [HttpKernel] Fix wrong number of arguments in call of ExceptionListener::logException()
2 parents da357d8 + 00ae320 commit 6467b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/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)