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
|
|
@ -145,10 +145,18 @@ OpenAPI_pdu_session_t *OpenAPI_pdu_session_parseFromJSON(cJSON *pdu_sessionJSON)
|
|||
goto end;
|
||||
}
|
||||
plmn_id_local_nonprim = OpenAPI_plmn_id_parseFromJSON(plmn_id);
|
||||
if (!plmn_id_local_nonprim) {
|
||||
ogs_error("OpenAPI_plmn_id_parseFromJSON failed [plmn_id]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
single_nssai = cJSON_GetObjectItemCaseSensitive(pdu_sessionJSON, "singleNssai");
|
||||
if (single_nssai) {
|
||||
single_nssai_local_nonprim = OpenAPI_snssai_parseFromJSON(single_nssai);
|
||||
if (!single_nssai_local_nonprim) {
|
||||
ogs_error("OpenAPI_snssai_parseFromJSON failed [single_nssai]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
pdu_session_local_var = OpenAPI_pdu_session_create (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue