From c8e12563ffb07754b0e6bccd2654c324c7aa0b68 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Thu, 7 Nov 2024 03:36:31 +1100 Subject: [PATCH] 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. --- rust/gui-client/src-common/src/errors.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/gui-client/src-common/src/errors.rs b/rust/gui-client/src-common/src/errors.rs index 1d5aced71..1897c9c32 100644 --- a/rust/gui-client/src-common/src/errors.rs +++ b/rust/gui-client/src-common/src/errors.rs @@ -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.