mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Log exception with backtrace
This commit is contained in:
parent
958473b333
commit
a0111d04ee
@ -1931,8 +1931,8 @@ class Server{
|
||||
|
||||
gc_collect_cycles();
|
||||
}catch(\Throwable $e){
|
||||
$this->logger->logException($e);
|
||||
$this->logger->emergency("Crashed while crashing, killing process");
|
||||
$this->logger->emergency(get_class($e) . ": " . $e->getMessage());
|
||||
@kill(getmypid());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user