Skip to content

Commit 6a98883

Browse files
committed
Add more info to process kill debug log
1 parent 1a79c42 commit 6a98883

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/process.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,11 @@ pub(crate) async fn new<F>(
199199
});
200200
}
201201
Finished::Signal(Signal::Kill) => {
202-
warn!("Process {} was killed", id);
202+
warn!(
203+
"Process {} was killed, notifying: {} links",
204+
id,
205+
links.len()
206+
);
203207
// Notify all links that we finished because of a kill signal
204208
links.iter().for_each(|(proc, tag)| {
205209
let _ = proc.send(Signal::LinkDied(*tag));

0 commit comments

Comments
 (0)