提交 b0bf0660 编写于 作者: W wanghaoxu

fix log to help solve cppcrash problem

Signed-off-by: Nwanghaoxu <wanghaoxu1@huawei.com>
上级 baa0a2a3
...@@ -208,7 +208,7 @@ bool IPCProcessSkeleton::SetRegistryObject(sptr<IRemoteObject> &object) ...@@ -208,7 +208,7 @@ bool IPCProcessSkeleton::SetRegistryObject(sptr<IRemoteObject> &object)
if (ret) { if (ret) {
registryObject_ = object; registryObject_ = object;
} }
ZLOGI(LOG_LABEL, "%{public}s set registry result is %{public}d", __func__, ret);
return ret; return ret;
} }
......
...@@ -461,7 +461,6 @@ void BinderInvoker::OnTransaction(const uint8_t *buffer) ...@@ -461,7 +461,6 @@ void BinderInvoker::OnTransaction(const uint8_t *buffer)
targetObject = IPCProcessSkeleton::GetCurrent()->GetRegistryObject(); targetObject = IPCProcessSkeleton::GetCurrent()->GetRegistryObject();
if (targetObject == nullptr) { if (targetObject == nullptr) {
ZLOGE(LABEL, "Invalid samgr stub object"); ZLOGE(LABEL, "Invalid samgr stub object");
abort();
} }
} }
MessageParcel reply; MessageParcel reply;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册