mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-29 22:51:33 +02:00
Differentiate trace logs when ending supervisor
This commit is contained in:
parent
f880b0b38a
commit
b728bfecfc
@ -69,7 +69,7 @@ impl Supervisor {
|
|||||||
Err(err) => {
|
Err(err) => {
|
||||||
error!(%err, "while waiting on process");
|
error!(%err, "while waiting on process");
|
||||||
errors.send(err).await.ok();
|
errors.send(err).await.ok();
|
||||||
trace!("marking process as done");
|
trace!("marking process as done, closing supervisor task early");
|
||||||
mark_done.send(true).ok();
|
mark_done.send(true).ok();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -124,7 +124,7 @@ impl Supervisor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
trace!("marking process as done");
|
trace!("marking process as done, closing supervisor task");
|
||||||
mark_done.send(true).ok();
|
mark_done.send(true).ok();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user