Dedimania small maintance
This commit is contained in:
parent
2ea8e7cf1e
commit
cb095b15c6
@ -42,7 +42,6 @@ if($devMode === "true"){
|
||||
define('DEV_MODE', false); // Development mode to not send error reports etc.
|
||||
}
|
||||
|
||||
|
||||
if(DEV_MODE){
|
||||
\ManiaControl\Logger::log('Starting ManiaControl with activated Development Mode...');
|
||||
}else{
|
||||
|
@ -110,7 +110,9 @@ class DedimaniaWebHandler implements TimerListener {
|
||||
|
||||
if (!$serverInfo || !$playerInfo || !$mapInfo || !$gameMode) {
|
||||
$data = array($this->dedimaniaData->sessionId, $mapInfo, $gameMode, $serverInfo, $playerInfo);
|
||||
Logger::logError("Dedimania Records could not be fetched, debuginfo:" . json_encode($data));
|
||||
if(!$serverInfo){ // No Players
|
||||
Logger::logError("Dedimania Records could not be fetched, debuginfo:" . json_encode($data));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user