mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +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,
|
'hideHeader' => true,
|
||||||
];
|
];
|
||||||
|
|
||||||
return response()->view('error', $data);
|
return response()->view('error', $data, 500);
|
||||||
} else {
|
} else {
|
||||||
return parent::render($request, $e);
|
return parent::render($request, $e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user