small fix

This commit is contained in:
kremsy
2017-05-09 19:28:46 +02:00
parent 37e12ebf88
commit dac68bd5a3
2 changed files with 1 additions and 20 deletions

View File

@ -333,9 +333,8 @@ class Server implements CallbackListener, CommandListener, UsageInformationAble
try {
$replay = $this->maniaControl->getClient()->getValidationReplay($login);
} catch (Exception $e) {
// TODO temp added 19.04.2014
$this->maniaControl->getErrorHandler()->triggerDebugNotice("Exception line 330 Server.php" . $e->getMessage());
trigger_error("Couldn't get validation replay of '{$login}'. " . $e->getMessage());
Logger::logError("Couldn't get validation replay of '{$login}'. " . $e->getMessage());
return null;
}
return $replay;