[SBI] Modified Exception handler on error (#2169)

This commit is contained in:
Sukchan Lee 2023-03-15 20:40:07 +09:00
parent 5f377d0126
commit 6b17bffdfd
646 changed files with 4920 additions and 735 deletions

View file

@ -93,6 +93,10 @@ OpenAPI_subscription_context_t *OpenAPI_subscription_context_parseFromJSON(cJSON
subscr_cond = cJSON_GetObjectItemCaseSensitive(subscription_contextJSON, "subscrCond");
if (subscr_cond) {
subscr_cond_local_nonprim = OpenAPI_subscr_cond_parseFromJSON(subscr_cond);
if (!subscr_cond_local_nonprim) {
ogs_error("OpenAPI_subscr_cond_parseFromJSON failed [subscr_cond]");
goto end;
}
}
subscription_context_local_var = OpenAPI_subscription_context_create (