This commit is contained in:
2021-08-04 11:15:46 +08:00
parent f77ce9878b
commit 0ec677106e
+2 -2
View File
@@ -118,9 +118,9 @@ class ErrorHandler extends Component implements ErrorInterface
$data = Json::to($code, $this->category . ': ' . $message, $path);
logger()->trance($data, $this->category);
write($data, $this->category);
return response()->send($data);
return $data;
}
/**