mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Set ErrorException handler on AsyncWorkers
This commit is contained in:
@@ -41,6 +41,9 @@ class AsyncWorker extends Worker{
|
||||
}
|
||||
|
||||
public function run(){
|
||||
error_reporting(-1);
|
||||
set_error_handler('\pocketmine\error_handler');
|
||||
|
||||
$this->registerClassLoader();
|
||||
$this->logger->registerStatic();
|
||||
gc_enable();
|
||||
|
Reference in New Issue
Block a user