context_servers: Log errors from detached context server tasks (#16377)
Logged several of the detached tasks that before would silently fail if the context server wasn't in compliance. Release Notes: - N/A
This commit is contained in:
parent
907d76208d
commit
0fdc9d0f05
2 changed files with 5 additions and 3 deletions
|
@ -266,11 +266,11 @@ pub fn init(cx: &mut AppContext) {
|
|||
|
||||
log::trace!("servers_to_add={:?}", servers_to_add);
|
||||
for config in servers_to_add {
|
||||
manager.add_server(config, cx).detach();
|
||||
manager.add_server(config, cx).detach_and_log_err(cx);
|
||||
}
|
||||
|
||||
for id in servers_to_remove {
|
||||
manager.remove_server(&id, cx).detach();
|
||||
manager.remove_server(&id, cx).detach_and_log_err(cx);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue