track error
This commit is contained in:
@@ -159,9 +159,15 @@ class WrenchResources extends BaseController
|
||||
return $this->response->setJson($res1);
|
||||
}
|
||||
private function getFamilyResourceCategory($in){
|
||||
$micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.10.120";
|
||||
$local_url = "http://".$micro_service_net1.":3034/famresourcecat";
|
||||
return $this->APIcall('GET', $local_url, $in);
|
||||
log_message('critical', "WrenchResources Path GATE 006");
|
||||
try {
|
||||
$micro_service_net1 = $this->getSiteConfigurations("system.micro_service_net1"); //"10.10.10.120";
|
||||
$local_url = "http://".$micro_service_net1.":3034/famresourcecat";
|
||||
return $this->APIcall('GET', $local_url, $in);
|
||||
} catch (Exception $e) {
|
||||
log_message('critical', "WrenchResources Path GATE 007 - ".$e->getMessage());
|
||||
return [];
|
||||
}
|
||||
}
|
||||
private function AskCategoryData(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user