resovled todo

This commit is contained in:
kremsy
2014-01-21 19:36:09 +01:00
committed by Steffen Schröder
parent 2e982ce5a9
commit 71a19d2464
2 changed files with 5 additions and 2 deletions

View File

@ -361,7 +361,7 @@ class ServerCommands implements CallbackListener, CommandListener, ManialinkPage
try {
$this->maniaControl->client->stopServer();
} catch(Exception $e) {
trigger_error("Server shutdown command from '{login}' failed. " . $this->maniaControl->getClientErrorText());
trigger_error("Server shutdown command from '{login}' failed. " . $e->getMessage());
return false;
}
$this->maniaControl->quit("Server shutdown requested by '{$login}'");