Move some error handling stuff to SPL

This commit is contained in:
Dylan K. Taylor
2019-01-17 19:16:03 +00:00
parent e341f3dce2
commit bbc8bc4df5
6 changed files with 20 additions and 93 deletions

View File

@ -163,7 +163,7 @@ namespace pocketmine {
exit(1);
}
set_error_handler([Utils::class, 'errorExceptionHandler']);
\ErrorUtils::setErrorExceptionHandler();
/*
* We now use the Composer autoloader, but this autoloader is still for loading plugins.