mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Adress review
- Mention failed loot specifier during getting item from lottery
This commit is contained in:
parent
8af4cf1a37
commit
9c2fc0d962
@ -93,7 +93,7 @@ impl<T: AsRef<str>> LootSpec<T> {
|
||||
match self {
|
||||
Self::Item(item) => Item::new_from_asset(item.as_ref()).map_or_else(
|
||||
|e| {
|
||||
warn!(?e, "Invalid item path");
|
||||
warn!(?e, "error while loading item: {}", item.as_ref());
|
||||
None
|
||||
},
|
||||
Option::Some,
|
||||
@ -110,7 +110,7 @@ impl<T: AsRef<str>> LootSpec<T> {
|
||||
Some(item)
|
||||
},
|
||||
Err(e) => {
|
||||
warn!(?e, "Invalid item path");
|
||||
warn!(?e, "error while loading item: {}", item.as_ref());
|
||||
None
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user