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 8d3ea8e5882f56d8fcb71e70db5291f5d70391e6..68b5486c9d74ec32a4da9376e38c6092848b7149 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));