From 26cfb4623de2b5bafa74a0608b026a76d123a376 Mon Sep 17 00:00:00 2001 From: Lixiaoying25 Date: Fri, 5 Sep 2025 01:51:24 +0000 Subject: [PATCH] =?UTF-8?q?update=20ipc/native/src/taihe/src/ohos.rpc.rpc.?= =?UTF-8?q?impl.cpp.=20arkTs1.1=E5=92=8C1.2=20ReadException=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E6=8A=A5=E9=94=99=E4=B8=80=E8=87=B4=EF=BC=8C=E6=9C=AA?= =?UTF-8?q?=E8=AF=BB=E5=88=B0=E5=BC=82=E5=B8=B8=E7=9B=B4=E6=8E=A5=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=EF=BC=8C=E4=B8=8D=E6=8A=9B=E9=94=99=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 9cad5efb..bfbd9e11 100644 --- a/ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp +++ b/ipc/native/src/taihe/src/ohos.rpc.rpc.impl.cpp @@ -769,7 +769,7 @@ void MessageSequenceImpl::ReadException() int32_t code = nativeParcel_->ReadInt32(); if (code == 0) { ZLOGE(LOG_LABEL, "ReadException failed, no exception"); - RPC_TAIHE_ERROR(OHOS::RpcTaiheErrorCode::TAIHE_READ_DATA_FROM_MESSAGE_SEQUENCE_ERROR); + return; } std::u16string result = nativeParcel_->ReadString16(); taihe::set_business_error(code, OHOS::Str16ToStr8(result)); -- Gitee