mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-09 07:02:41 -04:00
fix async-std support
This commit is contained in:
parent
e24f0ac8b2
commit
9aa95f6857
6 changed files with 324 additions and 4 deletions
|
@ -221,9 +221,13 @@ Server Debug Commands:
|
|||
}
|
||||
};
|
||||
|
||||
match capi.server_change_log_level(layer, log_level).await {
|
||||
match capi.server_change_log_level(layer, log_level.clone()).await {
|
||||
Ok(()) => {
|
||||
ui.display_string_dialog("Success", "Log level changed", callback);
|
||||
ui.display_string_dialog(
|
||||
"Log level changed",
|
||||
&format!("Log level set to '{}'", log_level),
|
||||
callback,
|
||||
);
|
||||
}
|
||||
Err(e) => {
|
||||
ui.display_string_dialog(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue