fixed duplicate logs

This commit is contained in:
objz committed 2026-06-16 12:26:18 +02:00
1 parent 09f403aa07
commit 0d9cd9c6b8
6 files changed
+79 -56

No files matched your search

-1
View File
@@ -254,7 +254,6 @@ impl App {
let instance = match self.instance_manager.load_one(&instance.name) {
Ok(config) => config,
Err(e) => {
tracing::error!("Failed to load instance '{}': {}", instance.name, e);
error_buffer::push_error(error_buffer::ErrorEvent {
id: 0,
level: tracing::Level::ERROR,
+2 -6
View File
@@ -76,9 +76,7 @@ impl App {
Ok(_) => {
self.instances_state.remove_instance(&name);
}
Err(e) => {
tracing::error!("Failed to delete instance '{}': {}", name, e);
}
Err(_) => {}
}
}
confirm_popup::clear_pending();
@@ -203,9 +201,7 @@ impl App {
inst.name = new_name.trim().to_owned();
}
}
Err(e) => {
tracing::error!("Rename failed: {}", e);
}
Err(_) => {}
}
}
}