track error

This commit is contained in:
CHIEFSOFT\ameye
2024-02-27 08:00:58 -05:00
parent 12c3852e92
commit 709ae92604
+9 -3
View File
@@ -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(){