[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

@ -180,6 +180,10 @@ OpenAPI_operator_specific_data_container_t *OpenAPI_operator_specific_data_conta
goto end;
}
value_local_nonprim = OpenAPI_operator_specific_data_container_value_parseFromJSON(value);
if (!value_local_nonprim) {
ogs_error("OpenAPI_operator_specific_data_container_value_parseFromJSON failed [value]");
goto end;
}
supported_features = cJSON_GetObjectItemCaseSensitive(operator_specific_data_containerJSON, "supportedFeatures");
if (supported_features) {