mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change: log where we locate assets for debugging
This commit is contained in:
parent
bc7f0731fc
commit
e09c1a87aa
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user