mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-09 07:02:41 -04:00
move tasks to network manager
This commit is contained in:
parent
47fc9ec75c
commit
6f6ec298cf
10 changed files with 761 additions and 687 deletions
|
@ -183,10 +183,7 @@ change_log_level - change the log level for a tracing layer
|
|||
spawn_detached_local(async move {
|
||||
match capi.server_debug(rest.unwrap_or_default()).await {
|
||||
Ok(output) => ui.display_string_dialog("Debug Output", output, callback),
|
||||
Err(e) => {
|
||||
error!("Server command 'debug' failed: {}", e);
|
||||
ui.send_callback(callback);
|
||||
}
|
||||
Err(e) => ui.display_string_dialog("Debug Error", e.to_string(), callback),
|
||||
}
|
||||
});
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue