Bether Exeption Handler
This commit is contained in:
parent
3d68df2658
commit
2185c62472
@ -46,6 +46,8 @@ class ErrorHandler {
|
|||||||
$message = [
|
$message = [
|
||||||
'code' => $exception->getCode(),
|
'code' => $exception->getCode(),
|
||||||
'message' => $exception->getMessage(),
|
'message' => $exception->getMessage(),
|
||||||
|
'file' => $exception->getFile(),
|
||||||
|
'line' => $exception->getLine(),
|
||||||
];
|
];
|
||||||
echo json_encode($message);
|
echo json_encode($message);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user