Add abnormal maintenance logs to the release process of tasks

Signed-off-by: wenlong_12 <wenlong12@huawei.com>
Change-Id: I4c2027a4206713e2bbe903fb38fdb0fe999cafa4
This commit is contained in:
wenlong_12 2024-09-19 09:14:03 +08:00
parent 79d51d55ac
commit 83c010eaa6
2 changed files with 2 additions and 1 deletions

View File

@ -63,8 +63,8 @@ void AsyncCmd::DoRelease()
}
if (pid > 0) {
uv_kill(pid, SIGTERM);
WRITE_LOG(LOG_INFO, "DoRelease pid:%d", pid);
}
WRITE_LOG(LOG_INFO, "DoRelease pid:%d", pid);
}
bool AsyncCmd::Initial(uv_loop_t *loopIn, const CmdResultCallback callback, uint32_t optionsIn)

View File

@ -924,6 +924,7 @@ bool HdcDaemon::RemoveInstanceTask(const uint8_t op, HTaskInfo hTask)
bool ret = true;
if (!hTask->taskClass) {
WRITE_LOG(LOG_FATAL, "RemoveInstanceTask taskClass is null channelId:%u", hTask->channelId);
return ret;
}