mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +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
|
|
@ -175,6 +175,10 @@ OpenAPI_pws_information_t *OpenAPI_pws_information_parseFromJSON(cJSON *pws_info
|
|||
goto end;
|
||||
}
|
||||
pws_container_local_nonprim = OpenAPI_n2_info_content_parseFromJSON(pws_container);
|
||||
if (!pws_container_local_nonprim) {
|
||||
ogs_error("OpenAPI_n2_info_content_parseFromJSON failed [pws_container]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
bc_empty_area_list = cJSON_GetObjectItemCaseSensitive(pws_informationJSON, "bcEmptyAreaList");
|
||||
if (bc_empty_area_list) {
|
||||
|
|
@ -194,7 +198,6 @@ OpenAPI_pws_information_t *OpenAPI_pws_information_parseFromJSON(cJSON *pws_info
|
|||
OpenAPI_global_ran_node_id_t *bc_empty_area_listItem = OpenAPI_global_ran_node_id_parseFromJSON(bc_empty_area_list_local);
|
||||
if (!bc_empty_area_listItem) {
|
||||
ogs_error("No bc_empty_area_listItem");
|
||||
OpenAPI_list_free(bc_empty_area_listList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(bc_empty_area_listList, bc_empty_area_listItem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue