Skip to content

Commit

Permalink
fix(task): print error in custom_wakeup if task not found
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Sep 13, 2023
1 parent e694e2d commit 905435e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scheduler/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ impl BlockedTaskQueue {
first_task = false;
cursor.move_next();
}

error!("Could not wakeup {task:?}");
}

/// Wakes up all tasks whose wakeup time has elapsed.
Expand Down

0 comments on commit 905435e

Please sign in to comment.