better error message on addmap
This commit is contained in:
1 parent
41df9efdbf
commit
a9c509c8e9
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user