This commit is contained in:
2023-04-16 02:46:54 +08:00
parent 656038dc7d
commit a660e1c08e
5 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ class ErrorHandler extends Component implements ErrorInterface
$data = Json::jsonFail($error[1], 500, $path);
$this->logger->error('On error handler', [$data]);
\Kiri::getLogger()->error('On error handler', [$data]);
$this->dispatch->dispatch(new Kiri\Events\OnSystemError());