mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Bether Exeption Handler
This commit is contained in:
1 parent
3d68df2658
commit
2185c62472
1 file changed
+2
@@ -46,6 +46,8 @@ class ErrorHandler {
|
||||
$message = [
|
||||
'code' => $exception->getCode(),
|
||||
'message' => $exception->getMessage(),
|
||||
'file' => $exception->getFile(),
|
||||
'line' => $exception->getLine(),
|
||||
];
|
||||
echo json_encode($message);
|
||||
|
||||
|
||||
Reference in new issue
Block a user