From 5c98e2fe7674d39c9b7cf2dd84a88c8e74264dc0 Mon Sep 17 00:00:00 2001 From: extrawurst Date: Sun, 25 Jun 2023 14:14:57 +0200 Subject: [PATCH] print theme file path in log with mesages --- src/ui/style.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ui/style.rs b/src/ui/style.rs index 1139cfe7..de282910 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -288,9 +288,15 @@ impl Theme { theme = old_theme; if theme.save_patch(theme_path).is_ok() { - log::info!("Converted old theme to new format."); + log::info!( + "Converted old theme to new format. ({:?})", + theme_path + ); } else { - log::warn!("Failed to save theme in new format."); + log::warn!( + "Failed to save theme in new format. ({:?})", + theme_path + ); } }