From d86ef81d0a6b3e4da5db6c07237ccd6b780e1c11 Mon Sep 17 00:00:00 2001 From: dengxiaoyu Date: Fri, 11 Oct 2024 22:00:35 +0800 Subject: [PATCH] optimize log Signed-off-by: dengxiaoyu --- services/dtbschedmgr/src/mission/dms_continue_send_manager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/dtbschedmgr/src/mission/dms_continue_send_manager.cpp b/services/dtbschedmgr/src/mission/dms_continue_send_manager.cpp index d26e8081..ccbdc891 100644 --- a/services/dtbschedmgr/src/mission/dms_continue_send_manager.cpp +++ b/services/dtbschedmgr/src/mission/dms_continue_send_manager.cpp @@ -241,8 +241,7 @@ int32_t DMSContinueSendMgr::SendSoftbusEvent(uint16_t bundleNameId, uint8_t cont bundleNameId, continueTypeId); std::shared_ptr buffer = std::make_shared(DMS_SEND_LEN); if (buffer->Data() == nullptr || buffer->Size()Size(), DMS_SEND_LEN); + HILOGE("Failed to initialize DSchedDataBuffer."); return INVALID_PARAMETERS_ERR; } buffer->Data()[0] = (type << CONTINUE_SHIFT_04) | DMS_DATA_LEN;