mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Print extrinsic failed error always, not just on import (#4747)
* Print extrinsic failed error always, not just on import Before we printed the error of a transaction only when importing a block, this pr changes it to print the error also at building the block. * Increment `impl_version`
This commit is contained in:
@@ -852,7 +852,10 @@ impl<T: Trait> Module<T> {
|
||||
Self::deposit_event(
|
||||
match r {
|
||||
Ok(()) => Event::ExtrinsicSuccess(info),
|
||||
Err(err) => Event::ExtrinsicFailed(err.clone(), info),
|
||||
Err(err) => {
|
||||
sp_runtime::print(err);
|
||||
Event::ExtrinsicFailed(err.clone(), info)
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user