Skip to content
Snippets Groups Projects
Commit b09017ca authored by Aten Jin's avatar Aten Jin Committed by GitHub
Browse files

print error info for database error (#14248)

parent feb0f45d
No related merge requests found
......@@ -150,7 +150,7 @@ pub enum Error {
#[error("Transaction pool not ready for block production.")]
TransactionPoolNotReady,
#[error("Database")]
#[error("Database error: {0}")]
DatabaseError(#[from] sp_database::error::DatabaseError),
#[error("Failed to get header for hash {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