From f0f90a88f1e9b72dd1da015cfc973fe639320246 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Mon, 19 Feb 2024 21:35:26 +0100 Subject: [PATCH] print theme path in error message too --- src/ui/style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/style.rs b/src/ui/style.rs index b3ba1b91..b86c2d6f 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -277,7 +277,7 @@ impl Theme { let load_result = ron::de::from_reader(file); if let Err(e) = &load_result { - log::error!("theme loading error: {e}"); + log::error!("theme error [{:?}]: {e}", theme_path); } Ok(load_result?)