mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-04 06:10: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
|
|
@ -180,6 +180,10 @@ OpenAPI_pcf_mbs_binding_t *OpenAPI_pcf_mbs_binding_parseFromJSON(cJSON *pcf_mbs_
|
|||
goto end;
|
||||
}
|
||||
mbs_session_id_local_nonprim = OpenAPI_mbs_session_id_parseFromJSON(mbs_session_id);
|
||||
if (!mbs_session_id_local_nonprim) {
|
||||
ogs_error("OpenAPI_mbs_session_id_parseFromJSON failed [mbs_session_id]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
pcf_fqdn = cJSON_GetObjectItemCaseSensitive(pcf_mbs_bindingJSON, "pcfFqdn");
|
||||
if (pcf_fqdn) {
|
||||
|
|
@ -207,7 +211,6 @@ OpenAPI_pcf_mbs_binding_t *OpenAPI_pcf_mbs_binding_parseFromJSON(cJSON *pcf_mbs_
|
|||
OpenAPI_ip_end_point_t *pcf_ip_end_pointsItem = OpenAPI_ip_end_point_parseFromJSON(pcf_ip_end_points_local);
|
||||
if (!pcf_ip_end_pointsItem) {
|
||||
ogs_error("No pcf_ip_end_pointsItem");
|
||||
OpenAPI_list_free(pcf_ip_end_pointsList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(pcf_ip_end_pointsList, pcf_ip_end_pointsItem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue