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:
parent
19167d07b6
commit
8a6d845e1a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user