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
|
|
@ -164,11 +164,19 @@ OpenAPI_vplmn_qos_t *OpenAPI_vplmn_qos_parseFromJSON(cJSON *vplmn_qosJSON)
|
|||
arp = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "arp");
|
||||
if (arp) {
|
||||
arp_local_nonprim = OpenAPI_arp_parseFromJSON(arp);
|
||||
if (!arp_local_nonprim) {
|
||||
ogs_error("OpenAPI_arp_parseFromJSON failed [arp]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
session_ambr = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "sessionAmbr");
|
||||
if (session_ambr) {
|
||||
session_ambr_local_nonprim = OpenAPI_ambr_parseFromJSON(session_ambr);
|
||||
if (!session_ambr_local_nonprim) {
|
||||
ogs_error("OpenAPI_ambr_parseFromJSON failed [session_ambr]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
max_fbr_dl = cJSON_GetObjectItemCaseSensitive(vplmn_qosJSON, "maxFbrDl");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue