From 1b830bbcb4c8bfbbd17233be5850cb41854b730b Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 26 Sep 2023 21:29:04 +0200 Subject: [PATCH] Less loud warning when loading old memories --- crates/eframe/src/epi/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/eframe/src/epi/mod.rs b/crates/eframe/src/epi/mod.rs index d45b39cf..3e5c9caf 100644 --- a/crates/eframe/src/epi/mod.rs +++ b/crates/eframe/src/epi/mod.rs @@ -1164,7 +1164,8 @@ pub fn get_value(storage: &dyn Storage, key: &st .and_then(|value| match ron::from_str(&value) { Ok(value) => Some(value), Err(err) => { - log::warn!("Failed to decode RON: {err}"); + // This happens on when we break the format, e.g. when updating egui. + log::debug!("Failed to decode RON: {err}"); None } })