improved error handling
This commit is contained in:
1 parent
b86161ecd0
commit
0012cb8ab9
2 files changed
+3
-10
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user