mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-27 09:11:24 +00:00
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:
parent
79d51d55ac
commit
83c010eaa6
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user