failure to create scopes should not stop session from launching
This commit is contained in:
parent
d6741d5786
commit
9409cae3f1
2 changed files with 15 additions and 10 deletions
|
|
@ -421,6 +421,12 @@ async fn start_component(
|
|||
//spawn_scope takes a vec of pids in case we want to spawn a scope for multiple processes
|
||||
spawn_scope(cmd.to_string(), vec![pids])
|
||||
.await
|
||||
.unwrap_or_else(|err| {
|
||||
warn!(
|
||||
"Failed to spawn scope for {}. Creating transient unit failed with {}",
|
||||
cmd, err
|
||||
);
|
||||
});
|
||||
}
|
||||
process_manager.get_pid(key).await.unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue