Improve error handling in approval voting block import (#5283)

* Print out original the runtime API error

* Improved error handling in approval voting block import

* Fix test

* Update comment
This commit is contained in:
Koute
2022-04-08 17:26:38 +09:00
committed by GitHub
parent ecd42d5408
commit ef4e64c641
4 changed files with 57 additions and 30 deletions
@@ -15,6 +15,7 @@ merlin = "2.0"
schnorrkel = "0.9.1"
kvdb = "0.11.0"
derive_more = "0.99.17"
thiserror = "1.0.30"
polkadot-node-subsystem = { path = "../../subsystem" }
polkadot-node-subsystem-util = { path = "../../subsystem-util" }