From 9bfdd808f573f7193dd87ec9f763ab9485de2fad Mon Sep 17 00:00:00 2001 From: liwang <965027894@qq.com> Date: Sat, 30 Aug 2025 15:22:20 +0800 Subject: [PATCH] =?UTF-8?q?sts=5Fconvert=5Fother.cpp=E6=96=87=E4=BB=B6GetP?= =?UTF-8?q?ixelMapArray=E6=97=A5=E5=BF=97=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liwang <965027894@qq.com> --- frameworks/ets/ani/src/sts_convert_other.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/ets/ani/src/sts_convert_other.cpp b/frameworks/ets/ani/src/sts_convert_other.cpp index 7631b34bd..b2ae56274 100644 --- a/frameworks/ets/ani/src/sts_convert_other.cpp +++ b/frameworks/ets/ani/src/sts_convert_other.cpp @@ -140,11 +140,13 @@ ani_status GetPixelMapArray(ani_env *env, ani_boolean isUndefined = ANI_TRUE; ani_status status = ANI_ERROR; if ((status = GetPropertyRef(env, param, name, isUndefined, arrayObj)) != ANI_OK || isUndefined == ANI_TRUE) { + ANS_LOGE("GetPropertyRef fail. status : %{public}d", status); return ANI_INVALID_ARGS; } if ((status = GetPixelMapArrayByRef(env, arrayObj, pixelMaps)) != ANI_OK) { pixelMaps.clear(); + ANS_LOGE("GetPixelMapArrayByRef fail. status : %{public}d", status); return status; } ANS_LOGD("GetPixelMapArray end"); -- Gitee