mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +00:00
Stop submission of plugin syntax error crashes
This commit is contained in:
parent
31b92b392e
commit
a7b44e3892
@ -1870,6 +1870,8 @@ class Server{
|
|||||||
}
|
}
|
||||||
}elseif(\Phar::running(true) == ""){
|
}elseif(\Phar::running(true) == ""){
|
||||||
return;
|
return;
|
||||||
|
}elseif($dump->getData()["type"] === "E_PARSE" or $dump->getData()["type"] === "E_COMPILE_ERROR"){
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$reply = Utils::postURL("http://".$this->getProperty("auto-report.host", "crash.pocketmine.net")."/submit/api", [
|
$reply = Utils::postURL("http://".$this->getProperty("auto-report.host", "crash.pocketmine.net")."/submit/api", [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user