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
|
|
@ -105,10 +105,18 @@ OpenAPI_plmn_ec_info_1_t *OpenAPI_plmn_ec_info_1_parseFromJSON(cJSON *plmn_ec_in
|
|||
goto end;
|
||||
}
|
||||
plmn_id_local_nonprim = OpenAPI_plmn_id_1_parseFromJSON(plmn_id);
|
||||
if (!plmn_id_local_nonprim) {
|
||||
ogs_error("OpenAPI_plmn_id_1_parseFromJSON failed [plmn_id]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
ec_restriction_data_wb = cJSON_GetObjectItemCaseSensitive(plmn_ec_info_1JSON, "ecRestrictionDataWb");
|
||||
if (ec_restriction_data_wb) {
|
||||
ec_restriction_data_wb_local_nonprim = OpenAPI_ec_restriction_data_wb_parseFromJSON(ec_restriction_data_wb);
|
||||
if (!ec_restriction_data_wb_local_nonprim) {
|
||||
ogs_error("OpenAPI_ec_restriction_data_wb_parseFromJSON failed [ec_restriction_data_wb]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
ec_restriction_data_nb = cJSON_GetObjectItemCaseSensitive(plmn_ec_info_1JSON, "ecRestrictionDataNb");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue