mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 07:08:11 +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
|
|
@ -112,6 +112,10 @@ OpenAPI_smcce_info_t *OpenAPI_smcce_info_parseFromJSON(cJSON *smcce_infoJSON)
|
|||
snssai = cJSON_GetObjectItemCaseSensitive(smcce_infoJSON, "snssai");
|
||||
if (snssai) {
|
||||
snssai_local_nonprim = OpenAPI_snssai_parseFromJSON(snssai);
|
||||
if (!snssai_local_nonprim) {
|
||||
ogs_error("OpenAPI_snssai_parseFromJSON failed [snssai]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
smcce_ue_list = cJSON_GetObjectItemCaseSensitive(smcce_infoJSON, "smcceUeList");
|
||||
|
|
@ -120,6 +124,10 @@ OpenAPI_smcce_info_t *OpenAPI_smcce_info_parseFromJSON(cJSON *smcce_infoJSON)
|
|||
goto end;
|
||||
}
|
||||
smcce_ue_list_local_nonprim = OpenAPI_smcce_ue_list_parseFromJSON(smcce_ue_list);
|
||||
if (!smcce_ue_list_local_nonprim) {
|
||||
ogs_error("OpenAPI_smcce_ue_list_parseFromJSON failed [smcce_ue_list]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
smcce_info_local_var = OpenAPI_smcce_info_create (
|
||||
dnn && !cJSON_IsNull(dnn) ? ogs_strdup(dnn->valuestring) : NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue