print theme path in error message too

This commit is contained in:
extrawurst 2024-02-19 21:35:26 +01:00
parent 1cb821cd51
commit f0f90a88f1

View File

@ -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?)