structure stuff
This commit is contained in:
@@ -102,15 +102,6 @@ class ProcessStructureJob implements ShouldQueue
|
|||||||
|
|
||||||
if(isset($info->solar_system_id)) {
|
if(isset($info->solar_system_id)) {
|
||||||
$solarName = $this->GetSolarSystemName($info->solar_system_id);
|
$solarName = $this->GetSolarSystemName($info->solar_system_id);
|
||||||
} else {
|
|
||||||
Log::warning("Couldn't get solar system name for structure " . $structure->structure_id);
|
|
||||||
Log::warning($info->response_code);
|
|
||||||
Log::warning($info->error_message);
|
|
||||||
Log::warning($info->raw);
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
die();
|
|
||||||
|
|
||||||
//Record the structure information into the database
|
//Record the structure information into the database
|
||||||
//Find if the structure exists
|
//Find if the structure exists
|
||||||
@@ -120,6 +111,9 @@ class ProcessStructureJob implements ShouldQueue
|
|||||||
} else {
|
} else {
|
||||||
$this->StoreNewStructure($structure, $info, $solarName);
|
$this->StoreNewStructure($structure, $info, $solarName);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Log::critical("Couldn't get solar system name for structure " . $structure->structure_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user