diff --git a/common/src/lottery.rs b/common/src/lottery.rs index 301b1facb4..46c26399b5 100644 --- a/common/src/lottery.rs +++ b/common/src/lottery.rs @@ -93,7 +93,7 @@ impl> LootSpec { 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> LootSpec { Some(item) }, Err(e) => { - warn!(?e, "Invalid item path"); + warn!(?e, "error while loading item: {}", item.as_ref()); None }, }