mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Move some error handling stuff to SPL
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user