This commit is contained in:
2023-07-26 16:45:28 +08:00
parent 2004391c9b
commit 8d4dd1bda9
+1 -1
View File
@@ -145,7 +145,7 @@ class ErrorHandler extends Component implements ErrorInterface
$data = Json::jsonFail($error[1], 500, $path);
if (!empty($data)) {
error('On error handler', [$data]);
error($data, []);
}
event(new Kiri\Events\OnSystemError());