mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
parent
a0c7587b68
commit
690ee4c574
@ -206,6 +206,7 @@ class CrashDump{
|
|||||||
if(isset($lastError)){
|
if(isset($lastError)){
|
||||||
$this->data->lastError = $lastError;
|
$this->data->lastError = $lastError;
|
||||||
$this->data->lastError["message"] = mb_scrub($this->data->lastError["message"], 'UTF-8');
|
$this->data->lastError["message"] = mb_scrub($this->data->lastError["message"], 'UTF-8');
|
||||||
|
$this->data->lastError["trace"] = array_map(array: $lastError["trace"], callback: fn(ThreadCrashInfoFrame $frame) => $frame->getPrintableFrame());
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->data->error = $error;
|
$this->data->error = $error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user