Log a message when forceShutdown() is called for anything other than a graceful shutdown

This commit is contained in:
Dylan K. Taylor 2021-11-28 18:53:34 +00:00
parent 52f0c4f3ed
commit 4a8ca603a1
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -1413,6 +1413,9 @@ class Server{
echo "\x1b]0;\x07";
}
if($this->isRunning){
$this->logger->emergency("Forcing server shutdown");
}
try{
if(!$this->isRunning()){
$this->sendUsage(SendUsageTask::TYPE_CLOSE);