mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-02 21:30: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
|
|
@ -95,6 +95,10 @@ OpenAPI_assign_ebi_error_t *OpenAPI_assign_ebi_error_parseFromJSON(cJSON *assign
|
|||
goto end;
|
||||
}
|
||||
error_local_nonprim = OpenAPI_problem_details_parseFromJSON(error);
|
||||
if (!error_local_nonprim) {
|
||||
ogs_error("OpenAPI_problem_details_parseFromJSON failed [error]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
failure_details = cJSON_GetObjectItemCaseSensitive(assign_ebi_errorJSON, "failureDetails");
|
||||
if (!failure_details) {
|
||||
|
|
@ -102,6 +106,10 @@ OpenAPI_assign_ebi_error_t *OpenAPI_assign_ebi_error_parseFromJSON(cJSON *assign
|
|||
goto end;
|
||||
}
|
||||
failure_details_local_nonprim = OpenAPI_assign_ebi_failed_parseFromJSON(failure_details);
|
||||
if (!failure_details_local_nonprim) {
|
||||
ogs_error("OpenAPI_assign_ebi_failed_parseFromJSON failed [failure_details]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
assign_ebi_error_local_var = OpenAPI_assign_ebi_error_create (
|
||||
error_local_nonprim,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue