gui: use Display instead Debug to print ExportModal errors
This commit is contained in:
parent
1abe503431
commit
df8d98b275
@ -33,7 +33,7 @@ pub fn export_modal<'a, Message: From<ImportExportMessage> + Clone + 'a>(
|
||||
.map(Container::new);
|
||||
|
||||
let msg = if let Some(error) = error {
|
||||
format!("{:?}", error)
|
||||
format!("{}", error)
|
||||
} else {
|
||||
match state {
|
||||
ImportExportState::Init => "".to_string(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user