This commit is contained in:
2023-08-24 11:36:56 +08:00
parent 0d5bad7186
commit 3b51cc83ca
+2 -3
View File
@@ -129,18 +129,17 @@ class ErrorHandler extends Component implements ErrorInterface
/** /**
* @throws \ErrorException
* @throws ContainerExceptionInterface * @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface * @throws NotFoundExceptionInterface
* @throws ReflectionException * @throws ReflectionException
*/ */
public function errorHandler() public function errorHandler()
{ {
$error = func_get_args(); var_dump(func_get_args());
event(new OnSystemError()); event(new OnSystemError());
throw new \ErrorException($error[1], $error[0], 1, $error[2], $error[3]); debug_print_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT);
} }
/** /**