From d884f58d6c8a4fa97341e490d49e626e7c421816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E4=BC=9F?= Date: Tue, 13 May 2025 01:32:02 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=BB=B4=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡伟 --- services/native/src/work_scheduler_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/native/src/work_scheduler_service.cpp b/services/native/src/work_scheduler_service.cpp index a15369e..032fae2 100644 --- a/services/native/src/work_scheduler_service.cpp +++ b/services/native/src/work_scheduler_service.cpp @@ -894,6 +894,7 @@ int32_t WorkSchedulerService::ObtainWorksByUidAndWorkIdForInner(int32_t uid, workInfos.push_back(*workInfoPtr); return ERR_OK; } else { + WS_HILOGE("uid: %{public}d, workId: %{public}d no have task."); return E_WORK_NOT_EXIST_FAILED; } } -- Gitee From afeb87c6d2c610b9707fd7276b38d949e5197948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E4=BC=9F?= Date: Tue, 13 May 2025 02:03:52 +0000 Subject: [PATCH 2/2] update services/native/src/work_scheduler_service.cpp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 胡伟 --- services/native/src/work_scheduler_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/native/src/work_scheduler_service.cpp b/services/native/src/work_scheduler_service.cpp index 032fae2..87e5d6d 100644 --- a/services/native/src/work_scheduler_service.cpp +++ b/services/native/src/work_scheduler_service.cpp @@ -894,7 +894,7 @@ int32_t WorkSchedulerService::ObtainWorksByUidAndWorkIdForInner(int32_t uid, workInfos.push_back(*workInfoPtr); return ERR_OK; } else { - WS_HILOGE("uid: %{public}d, workId: %{public}d no have task."); + WS_HILOGE("uid: %{public}d, workId: %{public}d no have task.", uid, workId); return E_WORK_NOT_EXIST_FAILED; } } -- Gitee