mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-23 03:32:30 +03:00
print theme path in error message too
This commit is contained in:
parent
1cb821cd51
commit
f0f90a88f1
@ -277,7 +277,7 @@ impl Theme {
|
|||||||
let load_result = ron::de::from_reader(file);
|
let load_result = ron::de::from_reader(file);
|
||||||
|
|
||||||
if let Err(e) = &load_result {
|
if let Err(e) = &load_result {
|
||||||
log::error!("theme loading error: {e}");
|
log::error!("theme error [{:?}]: {e}", theme_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(load_result?)
|
Ok(load_result?)
|
||||||
|
Loading…
Reference in New Issue
Block a user