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
|
|
@ -169,6 +169,10 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON)
|
|||
goto end;
|
||||
}
|
||||
trigger_type_local_nonprim = OpenAPI_trigger_type_parseFromJSON(trigger_type);
|
||||
if (!trigger_type_local_nonprim) {
|
||||
ogs_error("OpenAPI_trigger_type_parseFromJSON failed [trigger_type]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
trigger_category = cJSON_GetObjectItemCaseSensitive(triggerJSON, "triggerCategory");
|
||||
if (!trigger_category) {
|
||||
|
|
@ -176,6 +180,10 @@ OpenAPI_trigger_t *OpenAPI_trigger_parseFromJSON(cJSON *triggerJSON)
|
|||
goto end;
|
||||
}
|
||||
trigger_category_local_nonprim = OpenAPI_trigger_category_parseFromJSON(trigger_category);
|
||||
if (!trigger_category_local_nonprim) {
|
||||
ogs_error("OpenAPI_trigger_category_parseFromJSON failed [trigger_category]");
|
||||
goto end;
|
||||
}
|
||||
|
||||
time_limit = cJSON_GetObjectItemCaseSensitive(triggerJSON, "timeLimit");
|
||||
if (time_limit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue