From 951edd802ab201dc37aabdcca1feff0e6d4ff85f Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 13 Dec 2024 15:43:16 +1100 Subject: [PATCH] fix(gui-client): lower log level when update check fails (#7501) --- rust/gui-client/src-common/src/updates.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rust/gui-client/src-common/src/updates.rs b/rust/gui-client/src-common/src/updates.rs index e1cd9ecbb..10df8c3b4 100644 --- a/rust/gui-client/src-common/src/updates.rs +++ b/rust/gui-client/src-common/src/updates.rs @@ -1,7 +1,6 @@ //! Module to check the Github repo for new releases use anyhow::{Context, Result}; -use firezone_logging::anyhow_dyn_err; use rand::{thread_rng, Rng as _}; use semver::Version; use serde::{Deserialize, Serialize}; @@ -47,10 +46,7 @@ pub async fn checker_task( tracing::debug!("CheckNetwork"); match check().await { Ok(release) => fsm.handle_check(release), - Err(error) => tracing::error!( - error = anyhow_dyn_err(&error), - "Couldn't check website for update" - ), + Err(e) => tracing::debug!("Couldn't check website for update: {e:#}"), } } Event::WaitInterval => {