fix: ignore error when starting service
This commit is contained in:
parent
be18d37bfa
commit
ba561b4097
1 changed files with 7 additions and 1 deletions
|
|
@ -670,5 +670,11 @@ async fn start_component(
|
|||
.with_fds(move || fds),
|
||||
)
|
||||
.await
|
||||
.unwrap_or_else(|_| panic!("failed to start {}", cmd));
|
||||
.unwrap_or_else(|err| {
|
||||
let stderr_span = stderr_span.clone();
|
||||
async move {
|
||||
error!("failed to start {}: {}", cmd, err);
|
||||
}
|
||||
.instrument(stderr_span)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue