Refactoring

This commit is contained in:
Marco De Araujo 2026-01-05 13:51:55 -04:00
parent 4eb4c64398
commit 349e0cf3ff
3 changed files with 39 additions and 14 deletions

View file

@ -188,7 +188,7 @@ impl App {
}
Err(e) => {
let mut error = HashMap::new();
error.insert("error", e.root_cause().to_string());
error.insert("error", e.to_string());
self.state.error_message = Some(t_with_args("update-fail", &error));
}
}