mirror of
https://github.com/filp/whoops.git
synced 2026-09-13 03:06:20 +00:00
addresses feature request
This commit is contained in:
@@ -40,10 +40,12 @@ class JsonResponseHandler extends Handler
|
||||
public function handle()
|
||||
{
|
||||
$response = [
|
||||
'error' => Formatter::formatExceptionAsDataArray(
|
||||
'errors' => [
|
||||
Formatter::formatExceptionAsDataArray(
|
||||
$this->getInspector(),
|
||||
$this->addTraceToOutput()
|
||||
),
|
||||
],
|
||||
];
|
||||
|
||||
if (\Whoops\Util\Misc::canSendHeaders()) {
|
||||
|
||||
Reference in New Issue
Block a user