failure to create scopes should not stop session from launching

This commit is contained in:
Joshua Ferguson 2024-06-21 17:07:11 -04:00 committed by Ashley Wulber
parent d6741d5786
commit 9409cae3f1
2 changed files with 15 additions and 10 deletions

View file

@ -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();
}