mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +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();
|
$data['trace'] = $exception->getTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = new JsonResponse($message, 500);
|
$response = new JsonResponse($data, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($exception instanceof HttpExceptionInterface)
|
if ($exception instanceof HttpExceptionInterface)
|
||||||
|
Reference in New Issue
Block a user