fixed an exception
This commit is contained in:
parent
adc4753fe4
commit
6fea856b9c
@ -427,6 +427,9 @@ class MapManager implements CallbackListener, CommunicationListener {
|
||||
return;
|
||||
}
|
||||
throw $e;
|
||||
} catch(FileException $e){
|
||||
$this->maniaControl->getChat()->sendError("Could not write file", $login);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -80,6 +80,7 @@ class FaultException extends Exception {
|
||||
case 'The scores must be decreasing.':
|
||||
case 'No current script.':
|
||||
return new GameModeException($faultString, $faultCode);
|
||||
case 'couldn\'t write file.':
|
||||
case 'Unable to write the black list file.':
|
||||
case 'Unable to write the guest list file.':
|
||||
case 'Unable to write the playlist file.':
|
||||
|
Loading…
Reference in New Issue
Block a user