[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

@ -227,6 +227,10 @@ OpenAPI_pfd_content_t *OpenAPI_pfd_content_parseFromJSON(cJSON *pfd_contentJSON)
dn_protocol = cJSON_GetObjectItemCaseSensitive(pfd_contentJSON, "dnProtocol");
if (dn_protocol) {
dn_protocol_local_nonprim = OpenAPI_domain_name_protocol_parseFromJSON(dn_protocol);
if (!dn_protocol_local_nonprim) {
ogs_error("OpenAPI_domain_name_protocol_parseFromJSON failed [dn_protocol]");
goto end;
}
}
pfd_content_local_var = OpenAPI_pfd_content_create (