mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Fixed crash when crashing while generating a crashdump due to crashing
This commit is contained in:
@ -2081,7 +2081,8 @@ class Server{
|
||||
try{
|
||||
$dump = new CrashDump($this);
|
||||
}catch(\Throwable $e){
|
||||
$this->logger->critical($this->getLanguage()->translateString("pocketmine.crash.error", $e->getMessage()));
|
||||
$this->logger->logException($e);
|
||||
$this->logger->critical($this->getLanguage()->translateString("pocketmine.crash.error", [$e->getMessage()]));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user