This commit is contained in:
2023-08-24 12:01:34 +08:00
parent 07e077cba0
commit cf39ea4ad6
+3 -2
View File
@@ -127,16 +127,17 @@ class ErrorHandler extends Component implements ErrorInterface
/**
* @throws \ErrorException
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ReflectionException
*/
public function errorHandler()
{
var_dump(func_get_args());
$error = func_get_args();
event(new OnSystemError());
debug_print_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT);
throw new \ErrorException($error[1], $error[0], 1, $error[2], $error[3]);
}
}