small fix

This commit is contained in:
kremsy authored and Steffen Schröder committed 2014-05-01 17:35:18 +02:00
1 parent 8275744fb2
commit 56ca076bec
2 files changed
+17 -3

No files matched your search

+5 -1
View File
@@ -43,7 +43,11 @@ class RankingManager implements CallbackListener {
* Initialize the Rankings
*/
public function onInit() {
$this->maniaControl->client->triggerModeScriptEvent('LibXmlRpc_GetRankings', '');
try {
$this->maniaControl->client->triggerModeScriptEvent('LibXmlRpc_GetRankings', '');
} catch(\Exception $e) {
//do nothing
}
}