mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 22:30:09 +00:00
[SBI] Modified Exception handler on error (#2169)
This commit is contained in:
parent
5f377d0126
commit
6b17bffdfd
646 changed files with 4920 additions and 735 deletions
|
|
@ -157,7 +157,6 @@ OpenAPI_location_area_1_t *OpenAPI_location_area_1_parseFromJSON(cJSON *location
|
|||
OpenAPI_geographic_area_t *geographic_areasItem = OpenAPI_geographic_area_parseFromJSON(geographic_areas_local);
|
||||
if (!geographic_areasItem) {
|
||||
ogs_error("No geographic_areasItem");
|
||||
OpenAPI_list_free(geographic_areasList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(geographic_areasList, geographic_areasItem);
|
||||
|
|
@ -182,7 +181,6 @@ OpenAPI_location_area_1_t *OpenAPI_location_area_1_parseFromJSON(cJSON *location
|
|||
OpenAPI_civic_address_t *civic_addressesItem = OpenAPI_civic_address_parseFromJSON(civic_addresses_local);
|
||||
if (!civic_addressesItem) {
|
||||
ogs_error("No civic_addressesItem");
|
||||
OpenAPI_list_free(civic_addressesList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(civic_addressesList, civic_addressesItem);
|
||||
|
|
@ -192,11 +190,19 @@ OpenAPI_location_area_1_t *OpenAPI_location_area_1_parseFromJSON(cJSON *location
|
|||
nw_area_info = cJSON_GetObjectItemCaseSensitive(location_area_1JSON, "nwAreaInfo");
|
||||
if (nw_area_info) {
|
||||
nw_area_info_local_nonprim = OpenAPI_network_area_info_1_parseFromJSON(nw_area_info);
|
||||
if (!nw_area_info_local_nonprim) {
|
||||
ogs_error("OpenAPI_network_area_info_1_parseFromJSON failed [nw_area_info]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
umt_time = cJSON_GetObjectItemCaseSensitive(location_area_1JSON, "umtTime");
|
||||
if (umt_time) {
|
||||
umt_time_local_nonprim = OpenAPI_umt_time_1_parseFromJSON(umt_time);
|
||||
if (!umt_time_local_nonprim) {
|
||||
ogs_error("OpenAPI_umt_time_1_parseFromJSON failed [umt_time]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
location_area_1_local_var = OpenAPI_location_area_1_create (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue