pallet-xcm: added useful error logs (#2408) (#4982)
Added error logs in pallet-xcm to help in debugging, fixes #2408 ## TODO - [x] change `log::error` to `tracing::error` format for `xcm-executor` - [x] check existing logs, e.g. this one can be extended with more info `tracing::error!(target: "xcm::reanchor", ?error, "Failed reanchoring with error");` - [x] use `tracing` instead of `log` for `pallet-xcm/src/lib.rs` --------- Co-authored-by:Ayevbeosa Iyamu <aiyamu@vatebra.com> Co-authored-by:
Adrian Catangiu <adrian@parity.io> Co-authored-by:
Francisco Aguirre <franciscoaguirreperez@gmail.com> Co-authored-by:
Branislav Kontur <bkontur@gmail.com> Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- Cargo.lock 1 addition, 1 deletionCargo.lock
- polkadot/xcm/pallet-xcm/Cargo.toml 2 additions, 2 deletionspolkadot/xcm/pallet-xcm/Cargo.toml
- polkadot/xcm/pallet-xcm/src/benchmarking.rs 4 additions, 4 deletionspolkadot/xcm/pallet-xcm/src/benchmarking.rs
- polkadot/xcm/pallet-xcm/src/lib.rs 117 additions, 75 deletionspolkadot/xcm/pallet-xcm/src/lib.rs
- polkadot/xcm/pallet-xcm/src/migration.rs 3 additions, 3 deletionspolkadot/xcm/pallet-xcm/src/migration.rs
- polkadot/xcm/xcm-executor/src/lib.rs 28 additions, 14 deletionspolkadot/xcm/xcm-executor/src/lib.rs
- prdoc/pr_4982.prdoc 13 additions, 0 deletionsprdoc/pr_4982.prdoc
Please register or sign in to comment