diff --git a/services/native/src/work_scheduler_service.cpp b/services/native/src/work_scheduler_service.cpp index a15369ea7ff6e400fd71bd46e4f74489d97a7555..87e5d6d97834005904cb98ade5e6cc12bc3f527c 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.", uid, workId); return E_WORK_NOT_EXIST_FAILED; } }