error message

This commit is contained in:
Steffen Schröder 2014-06-14 18:54:29 +02:00
parent 99d6299016
commit 26911c0071

View File

@ -602,8 +602,8 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
$this->maniaControl->mapManager->mapQueue->dontQueueNextMapChange(); $this->maniaControl->mapManager->mapQueue->dontQueueNextMapChange();
try { try {
$this->maniaControl->client->jumpToMapIdent($mapUid); $this->maniaControl->client->jumpToMapIdent($mapUid);
} catch (NextMapException $e) { } catch (NextMapException $exception) {
$this->maniaControl->chat->sendError('Error on Jumping to Map Ident!', $player); $this->maniaControl->chat->sendError('Error on Jumping to Map Ident: ' . $exception->getMessage(), $player);
break; break;
} }