From 3b51cc83caf911bd24bfb26a84042b35094b5ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 24 Aug 2023 11:36:56 +0800 Subject: [PATCH] qqq --- kiri-engine/Error/ErrorHandler.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kiri-engine/Error/ErrorHandler.php b/kiri-engine/Error/ErrorHandler.php index 86ed4881..101f479c 100644 --- a/kiri-engine/Error/ErrorHandler.php +++ b/kiri-engine/Error/ErrorHandler.php @@ -129,18 +129,17 @@ class ErrorHandler extends Component implements ErrorInterface /** - * @throws \ErrorException * @throws ContainerExceptionInterface * @throws NotFoundExceptionInterface * @throws ReflectionException */ public function errorHandler() { - $error = func_get_args(); + var_dump(func_get_args()); event(new OnSystemError()); - throw new \ErrorException($error[1], $error[0], 1, $error[2], $error[3]); + debug_print_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT); } /**