mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 18:01:07 +00:00
print error info for database error (#14248)
This commit is contained in:
1 parent
feb0f45d21
commit
b09017ca5e
1 file changed
+1
-1
@@ -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