mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 13:20:08 +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
|
|
@ -181,6 +181,10 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
goto end;
|
||||
}
|
||||
guami_local_nonprim = OpenAPI_guami_parseFromJSON(guami);
|
||||
if (!guami_local_nonprim) {
|
||||
ogs_error("OpenAPI_guami_parseFromJSON failed [guami]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
purge_flag = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "purgeFlag");
|
||||
if (purge_flag) {
|
||||
|
|
@ -225,7 +229,6 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
OpenAPI_backup_amf_info_t *backup_amf_infoItem = OpenAPI_backup_amf_info_parseFromJSON(backup_amf_info_local);
|
||||
if (!backup_amf_infoItem) {
|
||||
ogs_error("No backup_amf_infoItem");
|
||||
OpenAPI_list_free(backup_amf_infoList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(backup_amf_infoList, backup_amf_infoItem);
|
||||
|
|
@ -235,6 +238,10 @@ OpenAPI_amf3_gpp_access_registration_modification_t *OpenAPI_amf3_gpp_access_reg
|
|||
eps_interworking_info = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "epsInterworkingInfo");
|
||||
if (eps_interworking_info) {
|
||||
eps_interworking_info_local_nonprim = OpenAPI_eps_interworking_info_parseFromJSON(eps_interworking_info);
|
||||
if (!eps_interworking_info_local_nonprim) {
|
||||
ogs_error("OpenAPI_eps_interworking_info_parseFromJSON failed [eps_interworking_info]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
ue_srvcc_capability = cJSON_GetObjectItemCaseSensitive(amf3_gpp_access_registration_modificationJSON, "ueSrvccCapability");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue