change: log where we locate assets for debugging

This commit is contained in:
Songtronix 2020-08-18 12:54:19 +02:00
parent bc7f0731fc
commit e09c1a87aa

View File

@ -316,12 +316,17 @@ lazy_static! {
}
}
tracing::trace!("Possible asset locations paths={:?}", paths);
for path in paths.clone() {
match find_folder::Search::ParentsThenKids(3, 1)
.of(path)
.for_folder("assets")
{
Ok(assets_path) => return assets_path,
Ok(assets_path) => {
tracing::info!("Assets located path={}", assets_path.display());
return assets_path;
},
Err(_) => continue,
}
}