Log exception with backtrace

This commit is contained in:
Dylan K. Taylor 2016-11-24 21:20:10 +00:00
parent 958473b333
commit a0111d04ee

View File

@ -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());
}