-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pallet-xcm: added useful error logs (#2408) #4982
pallet-xcm: added useful error logs (#2408) #4982
Conversation
@ayevbeosa this is good, but does not yet fix #2408 - this PR only covers |
Thanks @acatangiu, is it okay to do everything in this PR or I should break it in parts? |
I think you can do it in same PR since they're not that many changes |
Review required! Latest push from author must always be reviewed |
Co-authored-by: Francisco Aguirre <[email protected]>
@ayevbeosa do you still plan on getting this over the finish line? |
Sure! Asides resolving the merge conflict, is there anything else left? |
Nope, merge master and have CI passing and we'll merge it. |
…sa/polkadot-sdk into ayevbeosa-log-xcm-errors
@ayevbeosa you need to add a new e.g. https://github.com/paritytech/polkadot-sdk/blob/master/prdoc/pr_6023.prdoc In your case you should have following
|
Alright, thanks |
b20be7c
@ayevbeosa Thank you for your contribution, please include your Polkadot address in the PR description. https://github.com/paritytech/substrate-tip-bot |
Thank you, will do that! |
/tip small |
@acatangiu A referendum for a small (20 DOT) tip was successfully submitted for @ayevbeosa (1Gz5aLtEu2n4jsfA6XwtZnuaRymJrDDw4kEGdNHTdxrpzrc on polkadot). |
The referendum has appeared on Polkassembly. |
Added error logs in pallet-xcm to help in debugging, fixes #2408
TODO
log::error
totracing::error
format forxcm-executor
tracing::error!(target: "xcm::reanchor", ?error, "Failed reanchoring with error");
tracing
instead oflog
forpallet-xcm/src/lib.rs
Polkadot Address: 1Gz5aLtEu2n4jsfA6XwtZnuaRymJrDDw4kEGdNHTdxrpzrc