updated exception

This commit is contained in:
kremsy
2017-05-24 10:05:28 +02:00
parent edcd18e8f5
commit a32e7df5e0
3 changed files with 3 additions and 1 deletions

View File

@ -332,7 +332,7 @@ class Server implements CallbackListener, CommandListener, UsageInformationAble
$login = Player::parseLogin($login);
try {
$replay = $this->maniaControl->getClient()->getValidationReplay($login);
} catch (Exception $e) {
} catch (Exception $e) { //UnavailableFeature Exception
$this->maniaControl->getErrorHandler()->triggerDebugNotice("Exception line 330 Server.php" . $e->getMessage());
Logger::logError("Couldn't get validation replay of '{$login}'. " . $e->getMessage());
return null;