mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(gui-client): lower log level when update check fails (#7501)
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user