mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 05:10:10 +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
|
|
@ -493,6 +493,10 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_
|
|||
area_scope = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "areaScope");
|
||||
if (area_scope) {
|
||||
area_scope_local_nonprim = OpenAPI_area_scope_parseFromJSON(area_scope);
|
||||
if (!area_scope_local_nonprim) {
|
||||
ogs_error("OpenAPI_area_scope_parseFromJSON failed [area_scope]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
measurement_lte_list = cJSON_GetObjectItemCaseSensitive(mdt_configurationJSON, "measurementLteList");
|
||||
|
|
@ -758,7 +762,6 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_
|
|||
OpenAPI_plmn_id_t *mdt_allowed_plmn_id_listItem = OpenAPI_plmn_id_parseFromJSON(mdt_allowed_plmn_id_list_local);
|
||||
if (!mdt_allowed_plmn_id_listItem) {
|
||||
ogs_error("No mdt_allowed_plmn_id_listItem");
|
||||
OpenAPI_list_free(mdt_allowed_plmn_id_listList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(mdt_allowed_plmn_id_listList, mdt_allowed_plmn_id_listItem);
|
||||
|
|
@ -783,7 +786,6 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_
|
|||
OpenAPI_mbsfn_area_t *mbsfn_area_listItem = OpenAPI_mbsfn_area_parseFromJSON(mbsfn_area_list_local);
|
||||
if (!mbsfn_area_listItem) {
|
||||
ogs_error("No mbsfn_area_listItem");
|
||||
OpenAPI_list_free(mbsfn_area_listList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(mbsfn_area_listList, mbsfn_area_listItem);
|
||||
|
|
@ -808,7 +810,6 @@ OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_parseFromJSON(cJSON *mdt_
|
|||
OpenAPI_inter_freq_target_info_t *inter_freq_target_listItem = OpenAPI_inter_freq_target_info_parseFromJSON(inter_freq_target_list_local);
|
||||
if (!inter_freq_target_listItem) {
|
||||
ogs_error("No inter_freq_target_listItem");
|
||||
OpenAPI_list_free(inter_freq_target_listList);
|
||||
goto end;
|
||||
}
|
||||
OpenAPI_list_add(inter_freq_target_listList, inter_freq_target_listItem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue