fix(gui-client): lower log level when update check fails (#7501)

This commit is contained in:
Thomas Eizinger
2024-12-13 15:43:16 +11:00
committed by GitHub
parent f0c2bfa6eb
commit 951edd802a

View File

@@ -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 => {