From 9b86fcbc9235a01b773c76afe5599db4d365c06a Mon Sep 17 00:00:00 2001 From: Lixiaoying25 Date: Fri, 5 Sep 2025 03:50:07 +0000 Subject: [PATCH] update ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp. Signed-off-by: Lixiaoying25 --- ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp b/ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp index 8d3ea8e5..68b5486c 100644 --- a/ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp +++ b/ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp @@ -647,7 +647,7 @@ void MessageSequenceImpl::ReadException() int32_t code = nativeParcel_->ReadInt32(); if (code == 0) { ZLOGE(LOG_LABEL, "ReadException failed, no exception"); - RPC_TAIHE_ERROR(OHOS::RpcTaiheErrorCode::READ_DATA_FROM_MESSAGE_SEQUENCE_ERROR); + return; } std::u16string result = nativeParcel_->ReadString16(); taihe::set_business_error(code, OHOS::Str16ToStr8(result)); -- Gitee