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
|
|
@ -114,15 +114,27 @@ OpenAPI_transfer_mo_data_req_data_t *OpenAPI_transfer_mo_data_req_data_parseFrom
|
|||
goto end;
|
||||
}
|
||||
mo_data_local_nonprim = OpenAPI_ref_to_binary_data_parseFromJSON(mo_data);
|
||||
if (!mo_data_local_nonprim) {
|
||||
ogs_error("OpenAPI_ref_to_binary_data_parseFromJSON failed [mo_data]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
mo_exp_data_counter = cJSON_GetObjectItemCaseSensitive(transfer_mo_data_req_dataJSON, "moExpDataCounter");
|
||||
if (mo_exp_data_counter) {
|
||||
mo_exp_data_counter_local_nonprim = OpenAPI_mo_exp_data_counter_parseFromJSON(mo_exp_data_counter);
|
||||
if (!mo_exp_data_counter_local_nonprim) {
|
||||
ogs_error("OpenAPI_mo_exp_data_counter_parseFromJSON failed [mo_exp_data_counter]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
ue_location = cJSON_GetObjectItemCaseSensitive(transfer_mo_data_req_dataJSON, "ueLocation");
|
||||
if (ue_location) {
|
||||
ue_location_local_nonprim = OpenAPI_user_location_parseFromJSON(ue_location);
|
||||
if (!ue_location_local_nonprim) {
|
||||
ogs_error("OpenAPI_user_location_parseFromJSON failed [ue_location]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
transfer_mo_data_req_data_local_var = OpenAPI_transfer_mo_data_req_data_create (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue