mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
print error info for database error (#14248)
This commit is contained in:
@@ -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}")]
|
||||
|
||||
Reference in New Issue
Block a user