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
|
|
@ -101,6 +101,10 @@ OpenAPI_ncgi_tai_t *OpenAPI_ncgi_tai_parseFromJSON(cJSON *ncgi_taiJSON)
|
|||
goto end;
|
||||
}
|
||||
tai_local_nonprim = OpenAPI_tai_parseFromJSON(tai);
|
||||
if (!tai_local_nonprim) {
|
||||
ogs_error("OpenAPI_tai_parseFromJSON failed [tai]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
cell_list = cJSON_GetObjectItemCaseSensitive(ncgi_taiJSON, "cellList");
|
||||
if (!cell_list) {
|
||||
|
|
@ -123,7 +127,6 @@ OpenAPI_ncgi_tai_t *OpenAPI_ncgi_tai_parseFromJSON(cJSON *ncgi_taiJSON)
|
|||
OpenAPI_ncgi_t *cell_listItem = OpenAPI_ncgi_parseFromJSON(cell_list_local);
|
||||
if (!cell_listItem) {
|
||||
ogs_error("No cell_listItem");
|
||||
OpenAPI_list_free(cell_listList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(cell_listList, cell_listItem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue