diff --git a/frameworks/ets/ani/src/sts_convert_other.cpp b/frameworks/ets/ani/src/sts_convert_other.cpp index 7631b34bd1371bb0dae04b868c99f59e715fded9..4d3913474a2550c5e3fe61f2ed332a49dbeed2ed 100644 --- a/frameworks/ets/ani/src/sts_convert_other.cpp +++ b/frameworks/ets/ani/src/sts_convert_other.cpp @@ -255,21 +255,21 @@ ani_status GetPixelMapByRef( { ANS_LOGD("GetPixelMapByRef call"); if (env == nullptr || obj == nullptr || keysStrArrayRef == nullptr) { - ANS_LOGE("GetPixelMapByRef failed, has nullPtr"); + ANS_LOGE("GetPixelMapByRef fail. has nullPtr"); return ANI_ERROR; } ani_status status = ANI_ERROR; ani_int length; if (ANI_OK != (status = env->Object_GetPropertyByName_Int(static_cast(keysStrArrayRef), "length", &length))) { - ANS_LOGE("GetPixelMapByRef : Object_GetPropertyByName_Double status = %{public}d", status); + ANS_LOGE("Object_GetPropertyByName_Int fail. status = %{public}d", status); return status; } ani_string strAni = {}; std::vector keys = {}; for (int32_t i = 0; i < length; i++) { if ((status = GetKeyString(env, static_cast(keysStrArrayRef), i, strAni)) != ANI_OK) { - ANS_LOGE("GetPixelMapByRef : GetKeyString status = %{public}d", status); + ANS_LOGE("GetKeyString fail. status = %{public}d", status); keys.clear(); return status; }