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 9cad5efbc7104279c237669dcf8306e1aea04146..bfbd9e11d22a2b99fd5798dde31acdca78b710bf 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));