PHPDoc improvements

Replaced deprecated method call
This commit is contained in:
Steffen Schröder
2014-05-20 14:59:17 +02:00
parent 7bcd42d927
commit 6ca5decdb4
13 changed files with 27 additions and 22 deletions

View File

@ -123,7 +123,11 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
return true;
}
$this->maniaControl->client->setServerOptions($serverSettings);
try {
$this->maniaControl->client->setServerOptions($serverSettings);
} catch (ServerOptionsException $exception) {
$this->maniaControl->chat->sendExceptionToAdmins($exception);
}
return true;
}