From 26911c00717a5d17e172835387e19ead8537207b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sat, 14 Jun 2014 18:54:29 +0200 Subject: [PATCH] error message --- application/core/Maps/MapList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/Maps/MapList.php b/application/core/Maps/MapList.php index c4a52017..7f50d5f3 100644 --- a/application/core/Maps/MapList.php +++ b/application/core/Maps/MapList.php @@ -602,8 +602,8 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener { $this->maniaControl->mapManager->mapQueue->dontQueueNextMapChange(); try { $this->maniaControl->client->jumpToMapIdent($mapUid); - } catch (NextMapException $e) { - $this->maniaControl->chat->sendError('Error on Jumping to Map Ident!', $player); + } catch (NextMapException $exception) { + $this->maniaControl->chat->sendError('Error on Jumping to Map Ident: ' . $exception->getMessage(), $player); break; }