chore(gui-client): don't double log errors (#7276)

This line leads to duplicate events in Sentry, we already log the error
passed to this function on every call-site.
This commit is contained in:
Thomas Eizinger
2024-11-07 03:36:31 +11:00
committed by GitHub
parent 47e45a3cf3
commit c8e12563ff

View File

@@ -61,7 +61,6 @@ pub fn show_error_dialog(error: &Error) -> Result<()> {
Error::UserNotInFirezoneGroup => format!("You are not a member of the group `{FIREZONE_GROUP}`. Try `sudo usermod -aG {FIREZONE_GROUP} $USER` and then reboot"),
Error::Other(error) => error.to_string(),
};
tracing::error!(?user_friendly_error_msg);
// I tried the Tauri dialogs and for some reason they don't show our
// app icon.