catch file exceptions like "map unknown"
This commit is contained in:
parent
f5458589c5
commit
5a09db0e72
@ -330,6 +330,9 @@ class MapManager implements CallbackListener {
|
|||||||
} catch (InvalidMapException $exception) {
|
} catch (InvalidMapException $exception) {
|
||||||
$this->maniaControl->chat->sendException($exception, $login);
|
$this->maniaControl->chat->sendException($exception, $login);
|
||||||
return;
|
return;
|
||||||
|
} catch (FileException $exception) {
|
||||||
|
$this->maniaControl->chat->sendException($exception, $login);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add map to map list
|
// Add map to map list
|
||||||
|
Loading…
Reference in New Issue
Block a user