From a9c509c8e934092ce51d3e2dbf04c676da3e2df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sat, 21 Jun 2014 22:40:29 +0200 Subject: [PATCH] better error message on addmap --- application/core/Maps/MapManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Maps/MapManager.php b/application/core/Maps/MapManager.php index 3ea5d8ed..c50d0f7e 100644 --- a/application/core/Maps/MapManager.php +++ b/application/core/Maps/MapManager.php @@ -322,7 +322,7 @@ class MapManager implements CallbackListener { try { $this->maniaControl->client->checkMapForCurrentServerParams($relativeMapFileName); } catch (InvalidMapException $e) { - $this->maniaControl->chat->sendError('Wrong MapType or not validated!', $login); + $this->maniaControl->chat->sendException($e, $login); return; }