commit db68ae628006a212e7266a89504551932f4ab5ba
parent ab2633e0386534934296e754bca34f23d15127a6
Author: William Casarin <jb55@jb55.com>
Date: Sun, 24 Dec 2023 12:32:56 -0800
log: chop some noisy logs
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/app.rs b/src/app.rs
@@ -294,10 +294,7 @@ fn render_pfp(ui: &mut egui::Ui, img_cache: &mut ImageCache, url: &str) {
}
Some(Err(_err)) => {
let failed_key = UrlKey::Failed(url).to_u64();
- debug!(
- "has failed promise? {}",
- img_cache.contains_key(&failed_key)
- );
+ //debug!("has failed promise? {}", img_cache.contains_key(&failed_key));
let m_failed_promise = img_cache.get_mut(&failed_key);
if m_failed_promise.is_none() {
warn!("failed key: {:?}", &failed_key);
@@ -310,7 +307,7 @@ fn render_pfp(ui: &mut egui::Ui, img_cache: &mut ImageCache, url: &str) {
ui.add(Spinner::new().size(40.0));
}
Some(Err(e)) => {
- error!("Image load error: {:?}", e);
+ //error!("Image load error: {:?}", e);
ui.label("❌");
}
Some(Ok(img)) => {