Skip to content

Commit

Permalink
Print out existing states?
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Oct 19, 2023
1 parent 5c18679 commit 67a4131
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hrun/src/worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ void Worker::PollGrouped(WorkEntry &work_entry) {
exec = HRUN_TASK_REGISTRY->GetTaskState(task->task_state_);
if (!exec) {
for (std::pair<std::string, TaskStateId> 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_);
Expand Down

0 comments on commit 67a4131

Please sign in to comment.