mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/13361] Fix the JsonResponse in the exception listener
PHPBB3-13361
This commit is contained in:
parent
1f4bb2c149
commit
8ef238ea73
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface
|
|||
$data['trace'] = $exception->getTrace();
|
||||
}
|
||||
|
||||
$response = new JsonResponse($message, 500);
|
||||
$response = new JsonResponse($data, 500);
|
||||
}
|
||||
|
||||
if ($exception instanceof HttpExceptionInterface)
|
||||
|
|
Loading…
Add table
Reference in a new issue