aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2015-01-14 11:13:28 +0100
committerTristan Darricau <github@nicofuma.fr>2015-01-14 11:13:28 +0100
commit8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2 (patch)
treec035cbe355853f9fa1c129e4fb2f298b077658bb
parent1f4bb2c1495e8d2641abe9606f14281e810feee4 (diff)
downloadforums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar
forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar.gz
forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar.bz2
forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar.xz
forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.zip
[ticket/13361] Fix the JsonResponse in the exception listener
PHPBB3-13361
-rw-r--r--phpBB/phpbb/event/kernel_exception_subscriber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/kernel_exception_subscriber.php b/phpBB/phpbb/event/kernel_exception_subscriber.php
index 01940a4fa9..eb7831ad34 100644
--- a/phpBB/phpbb/event/kernel_exception_subscriber.php
+++ b/phpBB/phpbb/event/kernel_exception_subscriber.php
@@ -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)