found a new exception and fixed
This commit is contained in:
parent
9df27b7113
commit
f9b73816c3
@ -5,6 +5,7 @@ namespace ManiaControl\Callbacks;
|
||||
use ManiaControl\ErrorHandler;
|
||||
use ManiaControl\General\UsageInformationAble;
|
||||
use ManiaControl\General\UsageInformationTrait;
|
||||
use ManiaControl\Logger;
|
||||
use ManiaControl\ManiaControl;
|
||||
use Maniaplanet\DedicatedServer\Xmlrpc\ParseException;
|
||||
|
||||
@ -239,6 +240,7 @@ class CallbackManager implements UsageInformationAble {
|
||||
$callbacks = $this->maniaControl->getClient()->executeCallbacks();
|
||||
} catch (ParseException $e) {
|
||||
//TODO remove later, its for the wrong XML encoding of nadeo
|
||||
Logger::logError("Parse Exception");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -66,6 +66,7 @@ class FaultException extends Exception {
|
||||
case 'Map lightmap is not up to date.':
|
||||
case 'Map lightmap is not up to date. (will still load for now)':
|
||||
case 'The map doesn\'t match the server packmask.':
|
||||
case 'The map environment is not available on the server (doesn\'t match the server packmask). ':
|
||||
return new InvalidMapException($faultString, $faultCode);
|
||||
case 'Ladder mode unknown.':
|
||||
case 'You cannot change the max players count: AllowSpectatorRelays is activated.':
|
||||
|
Loading…
Reference in New Issue
Block a user