improved error handling

This commit is contained in:
Steffen Schröder
2014-06-22 18:37:56 +02:00
parent b86161ecd0
commit 0012cb8ab9
2 changed files with 3 additions and 10 deletions

View File

@ -149,6 +149,7 @@ class DynamicPointLimitPlugin implements CallbackListener, CommandListener, Plug
$this->maniaControl->chat->sendInformation($message);
$this->lastPointLimit = $pointLimit;
} catch (GameModeException $exception) {
$this->maniaControl->chat->sendExceptionToAdmins($exception);
}
}
}