From ce4d7c22cbd2e8392a56239a931ef407a885ba48 Mon Sep 17 00:00:00 2001 From: Milan Stastny Date: Mon, 19 Feb 2024 16:24:32 +0100 Subject: [PATCH] update env-logger --- Cargo.toml | 2 +- src/tools/epic_web.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ae509c1..0f3be5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ chrono = "0.4" diesel = { version = "2", features = ["sqlite", "r2d2"] } diesel_migrations = { version = "2", features = ["sqlite"] } egs-api = "0.6" -env_logger = "0.10.0" +env_logger = "0.11" fs2 = "0.4.3" gtk4 = { version = "0.7.2", features = ["v4_8"] } gtk-macros = "0.3" diff --git a/src/tools/epic_web.rs b/src/tools/epic_web.rs index 211b23e..37b93c5 100644 --- a/src/tools/epic_web.rs +++ b/src/tools/epic_web.rs @@ -155,7 +155,7 @@ impl EpicWeb { Ok(eula) => { return match eula.data.eula.has_account_accepted { None => { - eula.errors.map_or((), |errors| for error in errors { + let _ = eula.errors.map_or((), |errors| for error in errors { error!("Failed to query EULA status: {} with response: {}", error.message, error.service_response); }); false