Skip to content

Commit 8d45466

Browse files
committed
fix: tokio version
1 parent 6e3a943 commit 8d45466

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/libs/kill_tree/src/linux.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,13 @@ pub(crate) mod tokio {
252252
continue;
253253
}
254254
};
255-
let process_info = get_process_info(process_id, entry.path()).await?;
255+
let process_info = match get_process_info(process_id, entry.path()).await {
256+
Ok(x) => x,
257+
Err(e) => {
258+
debug!(error = ?e, "Failed to get process info");
259+
continue;
260+
}
261+
};
256262
process_infos.push(process_info);
257263
}
258264
Ok(process_infos)

0 commit comments

Comments
 (0)