Skip to content

Commit

Permalink
fix: tokio version
Browse files Browse the repository at this point in the history
  • Loading branch information
oneofthezombies committed Feb 12, 2024
1 parent 6e3a943 commit 8d45466
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/libs/kill_tree/src/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,13 @@ pub(crate) mod tokio {
continue;
}
};
let process_info = get_process_info(process_id, entry.path()).await?;
let process_info = match get_process_info(process_id, entry.path()).await {
Ok(x) => x,
Err(e) => {
debug!(error = ?e, "Failed to get process info");
continue;
}
};
process_infos.push(process_info);
}
Ok(process_infos)
Expand Down

0 comments on commit 8d45466

Please sign in to comment.