mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user