多余的Callback error log清除

Signed-off-by: xiexiyun <xiexiyun@huawei.com>
Change-Id: I52b9c6446da17867cf24648af6195b14757aa6e6
This commit is contained in:
xiexiyun
2022-03-24 11:37:38 +08:00
parent 242faa451a
commit 731f964514
2 changed files with 1 additions and 2 deletions
@@ -1365,7 +1365,6 @@ bool JsiDeclarativeEngine::CallAppFunc(const std::string& appFuncName, std::vect
}
shared_ptr<JsValue> func = defaultObject->GetProperty(runtime, appFuncName);
if (!func || !func->IsFunction(runtime)) {
LOGE("%{public}s not found or is not a function!", appFuncName.c_str());
return false;
}
shared_ptr<JsValue> result;
@@ -2307,7 +2307,7 @@ bool JSViewAbstract::ParseJsMedia(const JSRef<JSVal>& jsValue, std::string& resu
LOGE("JSImage::Create ParseJsMedia type is wrong");
return false;
}
LOGE("input value is not string or number, using PixelMap");
LOGI("input value is not string or number, using PixelMap");
return false;
}