modify plugin name

This commit is contained in:
2022-02-23 16:32:08 +08:00
parent fa66eef192
commit 99c824c467
37 changed files with 317 additions and 937 deletions
+1 -2
View File
@@ -93,11 +93,10 @@ class ErrorHandler extends Component implements ErrorInterface
$data = Json::to(500, $error[1], $path);
Kiri::app()->error($data, 'error');
$this->logger->error('On error handler', [$data]);
di(EventDispatch::class)->dispatch(new OnAfterRequest());
throw new \ErrorException($error[1], $error[0], 1, $error[2], $error[3]);
}