mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-03 05:40: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
|
|
@ -95,6 +95,10 @@ OpenAPI_failure_event_info_t *OpenAPI_failure_event_info_parseFromJSON(cJSON *fa
|
|||
goto end;
|
||||
}
|
||||
event_local_nonprim = OpenAPI_nwdaf_event_parseFromJSON(event);
|
||||
if (!event_local_nonprim) {
|
||||
ogs_error("OpenAPI_nwdaf_event_parseFromJSON failed [event]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
failure_code = cJSON_GetObjectItemCaseSensitive(failure_event_infoJSON, "failureCode");
|
||||
if (!failure_code) {
|
||||
|
|
@ -102,6 +106,10 @@ OpenAPI_failure_event_info_t *OpenAPI_failure_event_info_parseFromJSON(cJSON *fa
|
|||
goto end;
|
||||
}
|
||||
failure_code_local_nonprim = OpenAPI_nwdaf_failure_code_parseFromJSON(failure_code);
|
||||
if (!failure_code_local_nonprim) {
|
||||
ogs_error("OpenAPI_nwdaf_failure_code_parseFromJSON failed [failure_code]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
failure_event_info_local_var = OpenAPI_failure_event_info_create (
|
||||
event_local_nonprim,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue