Skip to content

Commit

Permalink
Less loud warning when loading old memories
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 26, 2023
1 parent dff52ed commit 1b830bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/eframe/src/epi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,8 @@ pub fn get_value<T: serde::de::DeserializeOwned>(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
}
})
Expand Down

0 comments on commit 1b830bb

Please sign in to comment.