fix async-std support

This commit is contained in:
Christien Rioux 2024-03-03 21:22:05 -05:00
parent e24f0ac8b2
commit 9aa95f6857
6 changed files with 324 additions and 4 deletions

View file

@ -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(