catch file exceptions like "map unknown"

This commit is contained in:
steeffeen 2014-06-29 22:16:07 +02:00
parent f5458589c5
commit 5a09db0e72

View File

@ -330,6 +330,9 @@ class MapManager implements CallbackListener {
} catch (InvalidMapException $exception) {
$this->maniaControl->chat->sendException($exception, $login);
return;
} catch (FileException $exception) {
$this->maniaControl->chat->sendException($exception, $login);
return;
}
// Add map to map list