diff --git a/polkadot/xcm/xcm-builder/src/weight.rs b/polkadot/xcm/xcm-builder/src/weight.rs index d9112fe03d33..e8deb2a6ed37 100644 --- a/polkadot/xcm/xcm-builder/src/weight.rs +++ b/polkadot/xcm/xcm-builder/src/weight.rs @@ -234,7 +234,7 @@ impl< tracing::trace!(target: "xcm::weight", "UsingComponents::buy_weight weight: {:?}, payment: {:?}, context: {:?}", weight, payment, context); let amount = WeightToFee::weight_to_fee(&weight); let u128_amount: u128 = amount.try_into().map_err(|error| { - tracing::error!(target: "xcm::weight", "Amount could not be converted"); + tracing::error!(target: "xcm::weight", ?error, "Amount could not be converted"); XcmError::Overflow })?; let required = Asset { id: AssetId(AssetIdValue::get()), fun: Fungible(u128_amount) };