1
0
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:
Tristan Darricau
2015-01-14 11:13:28 +01:00
parent 1f4bb2c149
commit 8ef238ea73

View File

@@ -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)