Skip to content
Snippets Groups Projects
Commit e0e34ad4 authored by Nazar Mokrynskyi's avatar Nazar Mokrynskyi Committed by GitHub
Browse files

Better transaction pool error (#11629)

* Better transaction pool error

* Do not use `Debug` when printing errors
parent f2d578b6
No related merge requests found
......@@ -27,10 +27,10 @@ pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
pub enum Error {
#[error("Transaction pool error")]
#[error("Transaction pool error: {0}")]
Pool(#[from] TxPoolError),
#[error("Blockchain error")]
#[error("Blockchain error: {0}")]
Blockchain(#[from] sp_blockchain::Error),
#[error("Block conversion error: {0}")]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment