Skip to content

Commit

Permalink
remove mandatory death
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Jun 26, 2024
1 parent c2e4b48 commit abdf0e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions binaries/geph5-client-gui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,11 @@ impl eframe::App for App {
let _ = native_dialog::MessageDialog::new()
.set_title("Fatal error")
.set_text(&format!(
"Unfortunately, a fatal error occurred, so Geph must die:\n\n{:?}",
"Unfortunately, a fatal error occurred:\n\n{:?}",
err
))
.set_type(MessageType::Error)
.show_alert();
std::process::exit(-1);
}
}

Expand Down

0 comments on commit abdf0e1

Please sign in to comment.