Differentiate trace logs when ending supervisor

This commit is contained in:
Félix Saparelli 2021-09-03 05:42:24 +12:00
parent f880b0b38a
commit b728bfecfc
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474

View file

@ -69,7 +69,7 @@ impl Supervisor {
Err(err) => {
error!(%err, "while waiting on process");
errors.send(err).await.ok();
trace!("marking process as done");
trace!("marking process as done, closing supervisor task early");
mark_done.send(true).ok();
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();
});