mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13361] Fix the JsonResponse in the exception listener
PHPBB3-13361
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user