[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

@ -123,6 +123,10 @@ OpenAPI_lcs_privacy_t *OpenAPI_lcs_privacy_parseFromJSON(cJSON *lcs_privacyJSON)
lpi = cJSON_GetObjectItemCaseSensitive(lcs_privacyJSON, "lpi");
if (lpi) {
lpi_local_nonprim = OpenAPI_lpi_parseFromJSON(lpi);
if (!lpi_local_nonprim) {
ogs_error("OpenAPI_lpi_parseFromJSON failed [lpi]");
goto end;
}
}
mtc_provider_information = cJSON_GetObjectItemCaseSensitive(lcs_privacyJSON, "mtcProviderInformation");