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
|
|
@ -102,11 +102,19 @@ OpenAPI_mbs_session_id_t *OpenAPI_mbs_session_id_parseFromJSON(cJSON *mbs_sessio
|
|||
tmgi = cJSON_GetObjectItemCaseSensitive(mbs_session_idJSON, "tmgi");
|
||||
if (tmgi) {
|
||||
tmgi_local_nonprim = OpenAPI_tmgi_parseFromJSON(tmgi);
|
||||
if (!tmgi_local_nonprim) {
|
||||
ogs_error("OpenAPI_tmgi_parseFromJSON failed [tmgi]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
ssm = cJSON_GetObjectItemCaseSensitive(mbs_session_idJSON, "ssm");
|
||||
if (ssm) {
|
||||
ssm_local_nonprim = OpenAPI_ssm_parseFromJSON(ssm);
|
||||
if (!ssm_local_nonprim) {
|
||||
ogs_error("OpenAPI_ssm_parseFromJSON failed [ssm]");
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
nid = cJSON_GetObjectItemCaseSensitive(mbs_session_idJSON, "nid");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue