Refactoring
This commit is contained in:
parent
4eb4c64398
commit
349e0cf3ff
3 changed files with 39 additions and 14 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue