From 67a4131338f361da8ece003c50bd66ff3c5ad5dd Mon Sep 17 00:00:00 2001 From: lukemartinlogan Date: Thu, 19 Oct 2023 02:07:01 -0500 Subject: [PATCH] Print out existing states? --- hrun/src/worker.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hrun/src/worker.cc b/hrun/src/worker.cc index 551468983..fd1579e94 100644 --- a/hrun/src/worker.cc +++ b/hrun/src/worker.cc @@ -78,7 +78,8 @@ void Worker::PollGrouped(WorkEntry &work_entry) { exec = HRUN_TASK_REGISTRY->GetTaskState(task->task_state_); if (!exec) { for (std::pair entries : HRUN_TASK_REGISTRY->task_state_ids_) { - HILOG(kInfo, "Task state: {} id: {}", entries.first, entries.second) + HILOG(kInfo, "Task state: {} id: {}", + entries.first, entries.second, HRUN_TASK_REGISTRY->task_states_[entries.second]); } HELOG(kFatal, "(node {}) Could not find the task state: {}", HRUN_CLIENT->node_id_, task->task_state_);