cought invalid maptype exception
This commit is contained in:
parent
46ff13898f
commit
7efff0fa84
@ -23,6 +23,7 @@ use ManiaControl\Utils\Formatter;
|
|||||||
use Maniaplanet\DedicatedServer\InvalidArgumentException;
|
use Maniaplanet\DedicatedServer\InvalidArgumentException;
|
||||||
use Maniaplanet\DedicatedServer\Xmlrpc\AlreadyInListException;
|
use Maniaplanet\DedicatedServer\Xmlrpc\AlreadyInListException;
|
||||||
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
|
use Maniaplanet\DedicatedServer\Xmlrpc\Exception;
|
||||||
|
use Maniaplanet\DedicatedServer\Xmlrpc\FaultException;
|
||||||
use Maniaplanet\DedicatedServer\Xmlrpc\FileException;
|
use Maniaplanet\DedicatedServer\Xmlrpc\FileException;
|
||||||
use Maniaplanet\DedicatedServer\Xmlrpc\IndexOutOfBoundException;
|
use Maniaplanet\DedicatedServer\Xmlrpc\IndexOutOfBoundException;
|
||||||
use Maniaplanet\DedicatedServer\Xmlrpc\InvalidMapException;
|
use Maniaplanet\DedicatedServer\Xmlrpc\InvalidMapException;
|
||||||
@ -438,6 +439,9 @@ class MapManager implements CallbackListener, CommunicationListener, UsageInform
|
|||||||
} catch (FileException $exception) {
|
} catch (FileException $exception) {
|
||||||
$this->maniaControl->getChat()->sendException($exception, $login);
|
$this->maniaControl->getChat()->sendException($exception, $login);
|
||||||
return;
|
return;
|
||||||
|
}catch (FaultException $exception){
|
||||||
|
$this->maniaControl->getChat()->sendException($exception, $login);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add map to map list
|
// Add map to map list
|
||||||
|
Loading…
Reference in New Issue
Block a user