mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
chore: improve image provider logging
This commit is contained in:
parent
83c5dceaa7
commit
d4dd8c41ea
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ impl<'a> ImageProvider<'a> {
|
||||||
Ok(ImageLocation::Local(PathBuf::from(input_name)))
|
Ok(ImageLocation::Local(PathBuf::from(input_name)))
|
||||||
}
|
}
|
||||||
None => get_desktop_icon_name(input_name).map_or_else(
|
None => get_desktop_icon_name(input_name).map_or_else(
|
||||||
|| Err(Report::msg("Unknown image type")),
|
|| Err(Report::msg(format!("Unknown image type: '{input}'"))),
|
||||||
|input| Self::get_location(&input, theme, size),
|
|input| Self::get_location(&input, theme, size),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue