1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00

Set error status in reponse header

This commit is contained in:
Hillel Coren 2017-02-19 14:26:59 +02:00
parent 19167d07b6
commit 8a6d845e1a

View File

@ -128,7 +128,7 @@ class Handler extends ExceptionHandler
'hideHeader' => true,
];
return response()->view('error', $data);
return response()->view('error', $data, 500);
} else {
return parent::render($request, $e);
}